From a81ffbc57e37bd95492888620fdff4dd0477229a Mon Sep 17 00:00:00 2001 From: Thalia Date: Mon, 3 Jun 2019 13:44:11 -0400 Subject: [PATCH] Set content language for test to en to ensure it passes Change-Id: I5bff92e304795ac4f76fd07f12f3598fbf816f39 --- tests/phpunit/includes/user/ExternalUserNamesTest.php | 2 ++ 1 file changed, 2 insertions(+) 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(); -- 2.20.1