From 1a2dd83c15e20d715b85cf64b41a8e2b0505339b Mon Sep 17 00:00:00 2001 From: Florian Schmidt Date: Mon, 6 Aug 2018 22:22:32 +0200 Subject: [PATCH] Use wgUseMediaWikiUIEverywhere true in tests This seems to be the default for Jenkins CI. Bug: T201359 Change-Id: Ie436c601a95957b3c3fc2bfcce6d12bdef69e76a --- tests/phpunit/includes/HooksTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/phpunit/includes/HooksTest.php b/tests/phpunit/includes/HooksTest.php index 65aded2..5fb2ebe 100644 --- a/tests/phpunit/includes/HooksTest.php +++ b/tests/phpunit/includes/HooksTest.php @@ -39,6 +39,7 @@ class HooksTest extends MediaWikiLangTestCase { 'wgCookieWarningEnabled' => $enabled, 'wgCookieWarningMoreUrl' => $morelinkConfig, 'wgCookieWarningForCountryCodes' => false, + 'wgUseMediaWikiUIEverywhere' => true, ] ); if ( $morelinkCookieWarningMsg ) { $title = Title::newFromText( 'cookiewarning-more-link', NS_MEDIAWIKI ); @@ -65,7 +66,7 @@ class HooksTest extends MediaWikiLangTestCase { // @codingStandardsIgnoreStart Generic.Files.LineLength $expected = str_replace( '$1', $expectedLink, - '' ); + '' ); // @codingStandardsIgnoreEnd } $this->assertEquals( $expected, $headElement );