From: umherirrender Date: Mon, 8 Dec 2014 20:07:31 +0000 (+0100) Subject: Do not list Test classes in the TestsAutoLoader.php X-Git-Tag: 1.31.0-rc.0~13052^2 X-Git-Url: http://git.cyclocoop.org/clavettes/images/siteon3.jpg?a=commitdiff_plain;h=0a0ac07092fd97ace885c1ddf945d47ecedd340e;p=lhc%2Fweb%2Fwiklou.git Do not list Test classes in the TestsAutoLoader.php phpunit will load the file, when scanning all folders for Test files Change-Id: I07b7252511dc31ea6433e645a9c46fb1517abced --- diff --git a/tests/TestsAutoLoader.php b/tests/TestsAutoLoader.php index d35ec26389..4ed28a8007 100644 --- a/tests/TestsAutoLoader.php +++ b/tests/TestsAutoLoader.php @@ -48,11 +48,6 @@ $wgAutoloadClasses += array( 'TestUser' => "$testDir/phpunit/includes/TestUser.php", 'LessFileCompilationTest' => "$testDir/phpunit/LessFileCompilationTest.php", - # tests/phpunit/includes - 'BlockTest' => "$testDir/phpunit/includes/BlockTest.php", - 'RevisionStorageTest' => "$testDir/phpunit/includes/RevisionStorageTest.php", - 'WikiPageTest' => "$testDir/phpunit/includes/WikiPageTest.php", - # tests/phpunit/includes/api 'ApiFormatTestBase' => "$testDir/phpunit/includes/api/format/ApiFormatTestBase.php", 'ApiQueryTestBase' => "$testDir/phpunit/includes/api/query/ApiQueryTestBase.php",