File tree Expand file tree Collapse file tree 1 file changed +7
-2
lines changed
lib/internal/Magento/Framework/App/Test/Unit Expand file tree Collapse file tree 1 file changed +7
-2
lines changed Original file line number Diff line number Diff line change 1
1
<?php
2
2
/**
3
- * Copyright © Magento, Inc. All rights reserved.
4
- * See COPYING.txt for license details .
3
+ * Copyright 2015 Adobe
4
+ * All Rights Reserved .
5
5
*/
6
6
declare (strict_types=1 );
7
7
@@ -22,10 +22,14 @@ class ObjectManagerFactoryTest extends TestCase
22
22
/** @var string */
23
23
protected static $ originalIncludePath ;
24
24
25
+ /** @var File */
26
+ private static $ fileIo ;
27
+
25
28
public static function setUpBeforeClass (): void
26
29
{
27
30
self ::$ originalAutoloadFunctions = spl_autoload_functions ();
28
31
self ::$ originalIncludePath = get_include_path ();
32
+ self ::$ fileIo = new File ();
29
33
}
30
34
31
35
/**
@@ -41,6 +45,7 @@ public static function tearDownAfterClass(): void
41
45
}
42
46
set_include_path (self ::$ originalIncludePath );
43
47
File::rmdirRecursive (__DIR__ . '/_files/var/ ' );
48
+ self ::$ fileIo ->rm (__DIR__ . '/_files/app/etc/env.php ' );
44
49
}
45
50
46
51
public function testCreateObjectManagerFactoryCouldBeOverridden ()
You can’t perform that action at this time.
0 commit comments