dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Set content language for test to en to ensure it passes
[lhc/web/wiklou.git]
/
tests
/
phpunit
/
includes
/
user
/
ExternalUserNamesTest.php
diff --git
a/tests/phpunit/includes/user/ExternalUserNamesTest.php
b/tests/phpunit/includes/user/ExternalUserNamesTest.php
index
429bda4
..
53f47a0
100644
(file)
--- 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();