Follow-up r87210: Add MediaWikiLangTestCase to the autoloader and make the class...
authorPaul Copperman <pcopp@users.mediawiki.org>
Wed, 4 May 2011 11:46:28 +0000 (11:46 +0000)
committerPaul Copperman <pcopp@users.mediawiki.org>
Wed, 4 May 2011 11:46:28 +0000 (11:46 +0000)
tests/TestsAutoLoader.php
tests/phpunit/MediaWikiLangTestCase.php

index 0b40251..c361559 100644 (file)
@@ -8,6 +8,7 @@ $wgAutoloadClasses += array(
        //PHPUnit
        'MediaWikiTestCase' => "$testFolder/phpunit/MediaWikiTestCase.php",
        'MediaWikiPHPUnitCommand' => "$testFolder/phpunit/MediaWikiPHPUnitCommand.php",
+       'MediaWikiLangTestCase' => "$testFolder/phpunit/MediaWikiLangTestCase.php",
                
                //API
                'ApiTestSetup' => "$testFolder/phpunit/includes/api/ApiSetup.php",
index 9c514bb..5ab4344 100644 (file)
@@ -3,7 +3,7 @@
 /**
  * Base class that store and restore the Language objects
  */
-class MediaWikiLangTestCase extends MediaWikiTestCase {
+abstract class MediaWikiLangTestCase extends MediaWikiTestCase {
        private static $oldLang;
        private static $oldContLang;