Hoo man has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/192584

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(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase 
refs/changes/84/192584/1

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/192584
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I17719b13ed4b03c96af0b432fa22becdd224ca58
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: wmf/1.25wmf16
Gerrit-Owner: Hoo man <[email protected]>

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

Reply via email to