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 );