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 11<?php
22/**
3- * Copyright © Magento, Inc. All rights reserved.
4- * See COPYING.txt for license details .
3+ * Copyright 2015 Adobe
4+ * All Rights Reserved .
55 */
66declare (strict_types=1 );
77
@@ -22,10 +22,14 @@ class ObjectManagerFactoryTest extends TestCase
2222 /** @var string */
2323 protected static $ originalIncludePath ;
2424
25+ /** @var File */
26+ private static $ fileIo ;
27+
2528 public static function setUpBeforeClass (): void
2629 {
2730 self ::$ originalAutoloadFunctions = spl_autoload_functions ();
2831 self ::$ originalIncludePath = get_include_path ();
32+ self ::$ fileIo = new File ();
2933 }
3034
3135 /**
@@ -41,6 +45,7 @@ public static function tearDownAfterClass(): void
4145 }
4246 set_include_path (self ::$ originalIncludePath );
4347 File::rmdirRecursive (__DIR__ . '/_files/var/ ' );
48+ self ::$ fileIo ->rm (__DIR__ . '/_files/app/etc/env.php ' );
4449 }
4550
4651 public function testCreateObjectManagerFactoryCouldBeOverridden ()
You can’t perform that action at this time.
0 commit comments