From: Platonides Date: Thu, 31 May 2012 20:19:39 +0000 (+0200) Subject: Add BackupDumper to the tests AutoLoader and kill the X-Git-Tag: 1.31.0-rc.0~23452^2 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;ds=sidebyside;h=72bf1fb2441d1eca28f4ef00f04a59a662fda91a;p=lhc%2Fweb%2Fwiklou.git Add BackupDumper to the tests AutoLoader and kill the register globals include vulnerability added in 8ba9856. Change-Id: If7fa6d76c91daa44aa53e80ac39be4860a763723 --- diff --git a/tests/TestsAutoLoader.php b/tests/TestsAutoLoader.php index 2ea4924dd7..3125284d23 100644 --- a/tests/TestsAutoLoader.php +++ b/tests/TestsAutoLoader.php @@ -28,6 +28,7 @@ $wgAutoloadClasses += array( //maintenance 'DumpTestCase' => "$testFolder/phpunit/maintenance/DumpTestCase.php", + 'BackupDumper' => "$testFolder/../maintenance/backup.inc", //Generic providers 'MediaWikiProvide' => "$testFolder/phpunit/includes/Providers.php", diff --git a/tests/phpunit/maintenance/DumpTestCase.php b/tests/phpunit/maintenance/DumpTestCase.php index fd39c45b0e..f64ad0b540 100644 --- a/tests/phpunit/maintenance/DumpTestCase.php +++ b/tests/phpunit/maintenance/DumpTestCase.php @@ -1,6 +1,4 @@