From 028a4a8378996751438f97b04fa41b55a0579827 Mon Sep 17 00:00:00 2001 From: Platonides Date: Sun, 10 Apr 2011 16:42:29 +0000 Subject: [PATCH] Follow up r85566. Add the helper classes to test autoloader. --- tests/TestsAutoLoader.php | 2 ++ tests/phpunit/includes/api/ApiTestCaseUpload.php | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) 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 { /** -- 2.20.1