Drop the check for existences of LocalSettings.php in MediaWikiIntegrationTestCase
authorAmir Sarabadani <Ladsgroup@gmail.com>
Mon, 1 Jul 2019 15:15:35 +0000 (17:15 +0200)
committerAmir Sarabadani <Ladsgroup@gmail.com>
Mon, 1 Jul 2019 15:15:35 +0000 (17:15 +0200)
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

tests/phpunit/MediaWikiIntegrationTestCase.php

index 3216d21..536de24 100644 (file)
@@ -181,7 +181,6 @@ abstract class MediaWikiIntegrationTestCase extends PHPUnit\Framework\TestCase {
 
        public static function setUpBeforeClass() {
                parent::setUpBeforeClass();
 
        public static function setUpBeforeClass() {
                parent::setUpBeforeClass();
-               \PHPUnit\Framework\Assert::assertFileExists( 'LocalSettings.php' );
                self::initializeForStandardPhpunitEntrypointIfNeeded();
 
                // Get the original service locator
                self::initializeForStandardPhpunitEntrypointIfNeeded();
 
                // Get the original service locator