From: Thalia Date: Mon, 3 Jun 2019 17:44:11 +0000 (-0400) Subject: Set content language for test to en to ensure it passes X-Git-Tag: 1.34.0-rc.0~1531^2 X-Git-Url: http://git.heureux-cyclage.org/?a=commitdiff_plain;h=a81ffbc57e37bd95492888620fdff4dd0477229a;p=lhc%2Fweb%2Fwiklou.git Set content language for test to en to ensure it passes Change-Id: I5bff92e304795ac4f76fd07f12f3598fbf816f39 --- diff --git a/tests/phpunit/includes/user/ExternalUserNamesTest.php b/tests/phpunit/includes/user/ExternalUserNamesTest.php index 429bda4625..53f47a0934 100644 --- a/tests/phpunit/includes/user/ExternalUserNamesTest.php +++ b/tests/phpunit/includes/user/ExternalUserNamesTest.php @@ -27,6 +27,8 @@ class ExternalUserNamesTest extends MediaWikiTestCase { * @dataProvider provideGetUserLinkTitle */ public function testGetUserLinkTitle( $username, $expected ) { + $this->setContentLang( 'en' ); + $interwikiLookupMock = $this->getMockBuilder( InterwikiLookup::class ) ->getMock();