Skip to content

Commit d49562b

Browse files
committed
Merge remote-tracking branch '37631/gitignore-generated-unit-test-file' into blth-del10131-commdashpr
2 parents a8b93fe + 4a7368d commit d49562b

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

lib/internal/Magento/Framework/App/Test/Unit/ObjectManagerFactoryTest.php

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
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
*/
66
declare(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()

0 commit comments

Comments
 (0)