Merge "Set wgScript in LinkerTest"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Tue, 24 Jun 2014 11:53:29 +0000 (11:53 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Tue, 24 Jun 2014 11:53:29 +0000 (11:53 +0000)
tests/phpunit/includes/LinkerTest.php

index 9889b08..4d62cc7 100644 (file)
@@ -91,6 +91,7 @@ class LinkerTest extends MediaWikiLangTestCase {
         */
        public function testFormatComment( $expected, $comment, $title = false, $local = false ) {
                $this->setMwGlobals( array(
+                       'wgScript' => '/wiki/index.php',
                        'wgArticlePath' => '/wiki/$1',
                        'wgWellFormedXml' => true,
                ) );