From: umherirrender Date: Tue, 30 Dec 2014 09:22:56 +0000 (+0100) Subject: Make TitleMethodsTest a LangTestCase X-Git-Tag: 1.31.0-rc.0~12836^2 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/?a=commitdiff_plain;h=a9259800368f5f606dcf3555fabd84bf30769544;p=lhc%2Fweb%2Fwiklou.git Make TitleMethodsTest a LangTestCase With I40a51c14ce07c301c15c6c2128cc18bb12e71103 a compare of namespaces was added which fails when content language is not en. Change-Id: I21466231e10e6cd5969c8c9bfd4824bf9c47e6d8 --- diff --git a/tests/phpunit/includes/TitleMethodsTest.php b/tests/phpunit/includes/TitleMethodsTest.php index 707a4a1c0b..bcdb45aa78 100644 --- a/tests/phpunit/includes/TitleMethodsTest.php +++ b/tests/phpunit/includes/TitleMethodsTest.php @@ -7,7 +7,7 @@ * @note We don't make assumptions about the main namespace. * But we do expect the Help namespace to contain Wikitext. */ -class TitleMethodsTest extends MediaWikiTestCase { +class TitleMethodsTest extends MediaWikiLangTestCase { protected function setUp() { global $wgContLang;