WMDE-leszek has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/395567 )
Change subject: Force a content language in SpecialListDatatypesTest
......................................................................
Force a content language in SpecialListDatatypesTest
Removing this in If7e1e18138190c7ee7c24e3cd0d8c5bb322dd360
caused the test to fail on non-English wikis, because
(at least) Special namespace in Special:ListProperties
link gets localized.
Change-Id: I8476f3fa37ff55f8c2e06e47e6694187f68ad1d5
---
M repo/tests/phpunit/includes/Specials/SpecialListDatatypesTest.php
1 file changed, 4 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase
refs/changes/67/395567/1
diff --git a/repo/tests/phpunit/includes/Specials/SpecialListDatatypesTest.php
b/repo/tests/phpunit/includes/Specials/SpecialListDatatypesTest.php
index 6a8e48e..f0ca19f 100644
--- a/repo/tests/phpunit/includes/Specials/SpecialListDatatypesTest.php
+++ b/repo/tests/phpunit/includes/Specials/SpecialListDatatypesTest.php
@@ -22,6 +22,10 @@
protected function setUp() {
parent::setUp();
+ $this->setMwGlobals( [
+ 'wgContLang' => \Language::factory( 'qqx' )
+ ] );
+
$services = MediaWikiServices::getInstance();
$services->resetServiceForTesting( 'TitleFormatter' );
$services->resetServiceForTesting( 'TitleParser' );
--
To view, visit https://gerrit.wikimedia.org/r/395567
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I8476f3fa37ff55f8c2e06e47e6694187f68ad1d5
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: WMDE-leszek <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits