r62232 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r62231‎ | r62232 | r62233 >
Date:10:47, 10 February 2010
Author:mah
Status:ok
Tags:
Comment:
commit changes to ApiSetup that are needed to make the
chunked uploading tests work.
Modified paths:
  • /trunk/phase3/maintenance/tests/ApiSetup.php (modified) (history)

Diff [purge]

Index: trunk/phase3/maintenance/tests/ApiSetup.php
@@ -8,7 +8,7 @@
99
1010 function setup() {
1111 global $wgServerName, $wgServer, $wgContLang, $wgAuth, $wgScriptPath,
12 - $wgScriptExtension, $wgMemc;
 12+ $wgScriptExtension, $wgMemc, $wgRequest;
1313
1414 if($wgServerName == "localhost" || $wgServer == "http://localhost") {
1515 $this->markTestIncomplete('This test needs $wgServerName and $wgServer to '.
@@ -19,6 +19,7 @@
2020 $wgMemc = new FakeMemCachedClient;
2121 $wgContLang = Language::factory( 'en' );
2222 $wgAuth = new StubObject( 'wgAuth', 'AuthPlugin' );
 23+ $wgRequest = new FauxRequest(array());
2324 self::setupUser();
2425 }
2526

Status & tagging log