From: umherirrender Date: Fri, 1 Mar 2013 20:02:42 +0000 (+0100) Subject: Force $wgCategoryCollation to be uppercase in tests X-Git-Tag: 1.31.0-rc.0~20452^2 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=d3a7621cab88f4028cc611bf01cb385d55241483;p=lhc%2Fweb%2Fwiklou.git Force $wgCategoryCollation to be uppercase in tests Bug: 40489 Change-Id: I920950e93f214961aa91d916e606dbb22c8dc2d9 --- diff --git a/tests/phpunit/includes/LinksUpdateTest.php b/tests/phpunit/includes/LinksUpdateTest.php index 244e4a8d42..a79b3a2549 100644 --- a/tests/phpunit/includes/LinksUpdateTest.php +++ b/tests/phpunit/includes/LinksUpdateTest.php @@ -85,6 +85,8 @@ class LinksUpdateTest extends MediaWikiTestCase { } public function testUpdate_categorylinks() { + $this->setMwGlobals( 'wgCategoryCollation', 'uppercase' ); + list( $t, $po ) = $this->makeTitleAndParserOutput( "Testing", 111 ); $po->addCategory( "Foo", "FOO" );