From a3c1afdb5f723cf4cc2bb8941c9a0f7147acf00f Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Sun, 5 Feb 2012 15:26:41 +0000 Subject: [PATCH] Fix call to deprecated to fix test since it was throwing errors --- tests/phpunit/skins/SideBarTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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(); -- 2.20.1