jenkins-bot has submitted this change and it was merged.

Change subject: Adopt to Scribunto change that sets wgContLang for tests
......................................................................


Adopt to Scribunto change that sets wgContLang for tests

As introduced in 499665c36f1afd443a68e708d5d58a658d1bbaa3
and later on (temporarily) reverted.

Change-Id: I17719b13ed4b03c96af0b432fa22becdd224ca58
(cherry picked from commit 2901100d649c353308943c0dc50f2cb964fc5cc8)
---
M 
client/tests/phpunit/includes/scribunto/Scribunto_LuaWikibaseLibraryTestCase.php
1 file changed, 1 insertion(+), 1 deletion(-)

Approvals:
  Hoo man: Looks good to me, approved
  jenkins-bot: Verified



diff --git 
a/client/tests/phpunit/includes/scribunto/Scribunto_LuaWikibaseLibraryTestCase.php
 
b/client/tests/phpunit/includes/scribunto/Scribunto_LuaWikibaseLibraryTestCase.php
index 392f426..a516d0a 100644
--- 
a/client/tests/phpunit/includes/scribunto/Scribunto_LuaWikibaseLibraryTestCase.php
+++ 
b/client/tests/phpunit/includes/scribunto/Scribunto_LuaWikibaseLibraryTestCase.php
@@ -86,6 +86,7 @@
        }
 
        protected function setUp() {
+               parent::setUp();
                self::doMock();
 
                $wikibaseClient = WikibaseClient::getDefaultInstance();
@@ -97,7 +98,6 @@
                );
 
                $this->setMwGlobals( 'wgContLang', Language::factory( 'de' ) );
-               parent::setUp();
        }
 
        protected function tearDown() {

-- 
To view, visit https://gerrit.wikimedia.org/r/192583
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I17719b13ed4b03c96af0b432fa22becdd224ca58
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: wmf/1.25wmf19
Gerrit-Owner: Hoo man <[email protected]>
Gerrit-Reviewer: Hoo man <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to