r79658 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r79657‎ | r79658 | r79659 >
Date:19:35, 5 January 2011
Author:platonides
Status:ok
Tags:
Comment:
Follow up r79532. Do not setup a user needlessly.
Modified paths:
  • /trunk/phase3/tests/phpunit/includes/api/format/ApiFormatTestBase.php (modified) (history)

Diff [purge]

Index: trunk/phase3/tests/phpunit/includes/api/format/ApiFormatTestBase.php
@@ -11,9 +11,9 @@
1212 $module = $data[3];
1313
1414 $printer = $module->createPrinterByName( $format );
15 - $printer->setUnescapeAmps(false);
 15+ $printer->setUnescapeAmps( false );
1616
17 - $printer->initPrinter(false);
 17+ $printer->initPrinter( false );
1818
1919 ob_start();
2020 $printer->execute();
@@ -24,5 +24,8 @@
2525 return $out;
2626 }
2727
 28+ function setupUser() {
 29+ /* Do not setup a user here */
 30+ }
2831 }
2932

Past revisions this follows-up on

RevisionCommit summaryAuthorDate
r79532Add API format testingsoxred9321:36, 3 January 2011

Status & tagging log