Fix parserTests: Set scriptPath in setupGlobals() as well
authorArlo Breault <abreault@wikimedia.org>
Tue, 23 Feb 2016 22:00:34 +0000 (14:00 -0800)
committerKrinkle <krinklemail@gmail.com>
Tue, 23 Feb 2016 22:05:34 +0000 (22:05 +0000)
Follows-up to 2eeda9bc7, which only set it in setUp().

Change-Id: Ifafaeaab679f51d452419bea223a955afcc63b51

tests/parser/parserTest.inc

index 549a51f..c42ff30 100644 (file)
@@ -829,7 +829,7 @@ class ParserTest {
                        'wgServer' => 'http://example.org',
                        'wgServerName' => 'example.org',
                        'wgScript' => '/index.php',
-                       'wgScriptPath' => '/',
+                       'wgScriptPath' => '',
                        'wgArticlePath' => '/wiki/$1',
                        'wgActionPaths' => [],
                        'wgLockManagers' => [ [