From: Alexandre Emsenhuber Date: Sun, 5 Feb 2012 15:26:41 +0000 (+0000) Subject: Fix call to deprecated to fix test since it was throwing errors X-Git-Tag: 1.31.0-rc.0~24929 X-Git-Url: https://git.heureux-cyclage.org/?a=commitdiff_plain;h=a3c1afdb5f723cf4cc2bb8941c9a0f7147acf00f;p=lhc%2Fweb%2Fwiklou.git Fix call to deprecated to fix test since it was throwing errors --- diff --git a/tests/phpunit/skins/SideBarTest.php b/tests/phpunit/skins/SideBarTest.php index 3edcbbbe9a..912d7602f5 100644 --- a/tests/phpunit/skins/SideBarTest.php +++ b/tests/phpunit/skins/SideBarTest.php @@ -37,7 +37,7 @@ class SideBarTest extends MediaWikiLangTestCase { parent::setUp(); $this->initMessagesHref(); $this->skin = new SkinTemplate(); - $this->skin->getContext()->setLang( Language::factory( 'en' ) ); + $this->skin->getContext()->setLanguage( Language::factory( 'en' ) ); } function tearDown() { parent::tearDown();