From b75be64f4925fc1e63402718e734cc101f735602 Mon Sep 17 00:00:00 2001 From: Platonides Date: Wed, 5 Jan 2011 19:35:58 +0000 Subject: [PATCH] Follow up r79532. Do not setup a user needlessly. --- tests/phpunit/includes/api/format/ApiFormatTestBase.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) 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 */ + } } -- 2.20.1