From: Alexandre Emsenhuber Date: Sun, 11 Dec 2011 13:54:44 +0000 (+0000) Subject: Per Platonides, fix for r100445: make sure user's language is English so that it... X-Git-Tag: 1.31.0-rc.0~26088 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/exercices/bilan.php?a=commitdiff_plain;h=b4a0314342fbdb7bd9a4655d83f5ba041789897d;p=lhc%2Fweb%2Fwiklou.git Per Platonides, fix for r100445: make sure user's language is English so that it doesn't break test --- diff --git a/tests/phpunit/skins/SideBarTest.php b/tests/phpunit/skins/SideBarTest.php index 47182a711a..441302a549 100644 --- a/tests/phpunit/skins/SideBarTest.php +++ b/tests/phpunit/skins/SideBarTest.php @@ -37,6 +37,7 @@ class SideBarTest extends MediaWikiLangTestCase { parent::setUp(); $this->initMessagesHref(); $this->skin = new SkinTemplate(); + $this->skin->getContext()->setLang( Language::factory( 'en' ) ); } function tearDown() { parent::tearDown();