Follow up r79532. Do not setup a user needlessly.
authorPlatonides <platonides@users.mediawiki.org>
Wed, 5 Jan 2011 19:35:58 +0000 (19:35 +0000)
committerPlatonides <platonides@users.mediawiki.org>
Wed, 5 Jan 2011 19:35:58 +0000 (19:35 +0000)
tests/phpunit/includes/api/format/ApiFormatTestBase.php

index cf60d5e..1ddbfcb 100644 (file)
@@ -11,9 +11,9 @@ abstract class ApiFormatTestBase extends ApiTestSetup {
                $module = $data[3];
                
                $printer = $module->createPrinterByName( $format );
-               $printer->setUnescapeAmps(false);
+               $printer->setUnescapeAmps( false );
 
-               $printer->initPrinter(false);
+               $printer->initPrinter( false );
 
                ob_start();
                $printer->execute();
@@ -24,5 +24,8 @@ abstract class ApiFormatTestBase extends ApiTestSetup {
                return $out;
        }
 
+       function setupUser() {
+               /* Do not setup a user here */
+       }
 }