From: Amir Sarabadani Date: Mon, 1 Jul 2019 15:15:35 +0000 (+0200) Subject: Drop the check for existences of LocalSettings.php in MediaWikiIntegrationTestCase X-Git-Tag: 1.34.0-rc.0~1225 X-Git-Url: http://git.cyclocoop.org/?a=commitdiff_plain;h=6568edb9e2e6b3988d8355360fa891ddf06fbdfa;p=lhc%2Fweb%2Fwiklou.git Drop the check for existences of LocalSettings.php in MediaWikiIntegrationTestCase This is not needed and we should let testers run integration tests without the need to define LocalSettings.php This reverts small part of Ie717b0ecf4fcfd089d46248f14853c80b7ef4a76 Bug: T226977 Change-Id: Ia36d22217f94e019bb5945705243bd0daace72e0 --- diff --git a/tests/phpunit/MediaWikiIntegrationTestCase.php b/tests/phpunit/MediaWikiIntegrationTestCase.php index 3216d213a4..536de24680 100644 --- a/tests/phpunit/MediaWikiIntegrationTestCase.php +++ b/tests/phpunit/MediaWikiIntegrationTestCase.php @@ -181,7 +181,6 @@ abstract class MediaWikiIntegrationTestCase extends PHPUnit\Framework\TestCase { public static function setUpBeforeClass() { parent::setUpBeforeClass(); - \PHPUnit\Framework\Assert::assertFileExists( 'LocalSettings.php' ); self::initializeForStandardPhpunitEntrypointIfNeeded(); // Get the original service locator