From: Platonides Date: Sun, 10 Apr 2011 16:42:29 +0000 (+0000) Subject: Follow up r85566. Add the helper classes to test autoloader. X-Git-Tag: 1.31.0-rc.0~30948 X-Git-Url: http://git.cyclocoop.org/%22.%28%24lien.?a=commitdiff_plain;h=028a4a8378996751438f97b04fa41b55a0579827;p=lhc%2Fweb%2Fwiklou.git Follow up r85566. Add the helper classes to test autoloader. --- diff --git a/tests/TestsAutoLoader.php b/tests/TestsAutoLoader.php index bc19cdf949..0b40251421 100644 --- a/tests/TestsAutoLoader.php +++ b/tests/TestsAutoLoader.php @@ -11,6 +11,8 @@ $wgAutoloadClasses += array( //API 'ApiTestSetup' => "$testFolder/phpunit/includes/api/ApiSetup.php", + 'ApiTestCase' => "$testFolder/phpunit/includes/api/ApiTestCase.php", + 'ApiTestUser' => "$testFolder/phpunit/includes/api/ApiTestUser.php", 'RandomImageGenerator' => "$testFolder/phpunit/includes/api/RandomImageGenerator.php", //Parser diff --git a/tests/phpunit/includes/api/ApiTestCaseUpload.php b/tests/phpunit/includes/api/ApiTestCaseUpload.php index 7703a7ef10..4824d7e228 100644 --- a/tests/phpunit/includes/api/ApiTestCaseUpload.php +++ b/tests/phpunit/includes/api/ApiTestCaseUpload.php @@ -3,8 +3,6 @@ /** * * Abstract class to support upload tests */ -require_once( 'ApiTestUser.php' ); -require_once( 'ApiTestCase.php' ); abstract class ApiTestCaseUpload extends ApiTestCase { /**