File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
lib/internal/Magento/Framework/App/Test/Unit Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -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 ()
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments