From dfbc4d7f3224609ddd8b6df0f9855af6717afb75 Mon Sep 17 00:00:00 2001 From: aude Date: Tue, 24 Jun 2014 09:39:17 +0200 Subject: [PATCH] Set wgScript in LinkerTest otherwise tests fail if you don't have this setting. Change-Id: I598b83c348dc54908225ee398787bf300d473656 --- tests/phpunit/includes/LinkerTest.php | 1 + 1 file changed, 1 insertion(+) 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, ) ); -- 2.20.1