summaryrefslogtreecommitdiff
path: root/tests/TestsAutoLoader.php
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2013-01-18 16:46:04 +0100
committerPierre Schmitz <pierre@archlinux.de>2013-01-18 16:46:04 +0100
commit63601400e476c6cf43d985f3e7b9864681695ed4 (patch)
treef7846203a952e38aaf66989d0a4702779f549962 /tests/TestsAutoLoader.php
parent8ff01378c9e0207f9169b81966a51def645b6a51 (diff)
Update to MediaWiki 1.20.2
this update includes: * adjusted Arch Linux skin * updated FluxBBAuthPlugin * patch for https://bugzilla.wikimedia.org/show_bug.cgi?id=44024
Diffstat (limited to 'tests/TestsAutoLoader.php')
-rw-r--r--tests/TestsAutoLoader.php9
1 files changed, 7 insertions, 2 deletions
diff --git a/tests/TestsAutoLoader.php b/tests/TestsAutoLoader.php
index 41bddfcd..42f5f68a 100644
--- a/tests/TestsAutoLoader.php
+++ b/tests/TestsAutoLoader.php
@@ -1,7 +1,7 @@
<?php
global $wgAutoloadClasses;
-$testFolder = dirname( __FILE__ );
+$testFolder = __DIR__;
$wgAutoloadClasses += array(
@@ -9,6 +9,7 @@ $wgAutoloadClasses += array(
'MediaWikiTestCase' => "$testFolder/phpunit/MediaWikiTestCase.php",
'MediaWikiPHPUnitCommand' => "$testFolder/phpunit/MediaWikiPHPUnitCommand.php",
'MediaWikiLangTestCase' => "$testFolder/phpunit/MediaWikiLangTestCase.php",
+ 'NewParserTest' => "$testFolder/phpunit/includes/parser/NewParserTest.php",
//includes
'BlockTest' => "$testFolder/phpunit/includes/BlockTest.php",
@@ -16,7 +17,7 @@ $wgAutoloadClasses += array(
//API
'ApiFormatTestBase' => "$testFolder/phpunit/includes/api/format/ApiFormatTestBase.php",
'ApiTestCase' => "$testFolder/phpunit/includes/api/ApiTestCase.php",
- 'ApiTestUser' => "$testFolder/phpunit/includes/api/ApiTestUser.php",
+ 'TestUser' => "$testFolder/phpunit/includes/TestUser.php",
'MockApi' => "$testFolder/phpunit/includes/api/ApiTestCase.php",
'RandomImageGenerator' => "$testFolder/phpunit/includes/api/RandomImageGenerator.php",
'UserWrapper' => "$testFolder/phpunit/includes/api/ApiTestCase.php",
@@ -24,6 +25,10 @@ $wgAutoloadClasses += array(
//Selenium
'SeleniumTestConstants' => "$testFolder/selenium/SeleniumTestConstants.php",
+ //maintenance
+ 'DumpTestCase' => "$testFolder/phpunit/maintenance/DumpTestCase.php",
+ 'BackupDumper' => "$testFolder/../maintenance/backup.inc",
+
//Generic providers
'MediaWikiProvide' => "$testFolder/phpunit/includes/Providers.php",
);