From: Platonides Date: Wed, 5 Jan 2011 19:35:58 +0000 (+0000) Subject: Follow up r79532. Do not setup a user needlessly. X-Git-Tag: 1.31.0-rc.0~32799 X-Git-Url: https://git.heureux-cyclage.org/?p=lhc%2Fweb%2Fwiklou.git;a=commitdiff_plain;h=b75be64f4925fc1e63402718e734cc101f735602 Follow up r79532. Do not setup a user needlessly. --- diff --git a/tests/phpunit/includes/api/format/ApiFormatTestBase.php b/tests/phpunit/includes/api/format/ApiFormatTestBase.php index cf60d5eae6..1ddbfcbe02 100644 --- a/tests/phpunit/includes/api/format/ApiFormatTestBase.php +++ b/tests/phpunit/includes/api/format/ApiFormatTestBase.php @@ -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 */ + } }