From: aude Date: Tue, 24 Jun 2014 07:39:17 +0000 (+0200) Subject: Set wgScript in LinkerTest X-Git-Tag: 1.31.0-rc.0~15268^2 X-Git-Url: http://git.cyclocoop.org/%24href?a=commitdiff_plain;h=dfbc4d7f3224609ddd8b6df0f9855af6717afb75;p=lhc%2Fweb%2Fwiklou.git Set wgScript in LinkerTest otherwise tests fail if you don't have this setting. Change-Id: I598b83c348dc54908225ee398787bf300d473656 --- diff --git a/tests/phpunit/includes/LinkerTest.php b/tests/phpunit/includes/LinkerTest.php index 9889b0863e..4d62cc7479 100644 --- a/tests/phpunit/includes/LinkerTest.php +++ b/tests/phpunit/includes/LinkerTest.php @@ -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, ) );