Index: trunk/phase3/maintenance/tests/ApiSetup.php |
— | — | @@ -8,7 +8,7 @@ |
9 | 9 | |
10 | 10 | function setup() { |
11 | 11 | global $wgServerName, $wgServer, $wgContLang, $wgAuth, $wgScriptPath, |
12 | | - $wgScriptExtension, $wgMemc; |
| 12 | + $wgScriptExtension, $wgMemc, $wgRequest; |
13 | 13 | |
14 | 14 | if($wgServerName == "localhost" || $wgServer == "http://localhost") { |
15 | 15 | $this->markTestIncomplete('This test needs $wgServerName and $wgServer to '. |
— | — | @@ -19,6 +19,7 @@ |
20 | 20 | $wgMemc = new FakeMemCachedClient; |
21 | 21 | $wgContLang = Language::factory( 'en' ); |
22 | 22 | $wgAuth = new StubObject( 'wgAuth', 'AuthPlugin' ); |
| 23 | + $wgRequest = new FauxRequest(array()); |
23 | 24 | self::setupUser(); |
24 | 25 | } |
25 | 26 | |