Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ignore lib/internal/Magento/Framework/App/Test/Unit/_files/app/etc/en… #37631

Open
wants to merge 4 commits into
base: 2.4-develop
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
/**
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
* Copyright 2015 Adobe
* All Rights Reserved.
*/
declare(strict_types=1);

Expand All @@ -22,10 +22,14 @@ class ObjectManagerFactoryTest extends TestCase
/** @var string */
protected static $originalIncludePath;

/** @var File */
private static $fileIo;

public static function setUpBeforeClass(): void
{
self::$originalAutoloadFunctions = spl_autoload_functions();
self::$originalIncludePath = get_include_path();
self::$fileIo = new File();
}

/**
Expand All @@ -41,6 +45,7 @@ public static function tearDownAfterClass(): void
}
set_include_path(self::$originalIncludePath);
File::rmdirRecursive(__DIR__ . '/_files/var/');
self::$fileIo->rm(__DIR__ . '/_files/app/etc/env.php');
}

public function testCreateObjectManagerFactoryCouldBeOverridden()
Expand Down