Fix call to deprecated to fix test since it was throwing errors
authorAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 5 Feb 2012 15:26:41 +0000 (15:26 +0000)
committerAlexandre Emsenhuber <ialex@users.mediawiki.org>
Sun, 5 Feb 2012 15:26:41 +0000 (15:26 +0000)
tests/phpunit/skins/SideBarTest.php

index 3edcbbb..912d760 100644 (file)
@@ -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();