Force $wgCategoryCollation to be uppercase in tests
authorumherirrender <umherirrender_de.wp@web.de>
Fri, 1 Mar 2013 20:02:42 +0000 (21:02 +0100)
committerKrinkle <ttijhof@wikimedia.org>
Tue, 5 Mar 2013 16:54:06 +0000 (16:54 +0000)
Bug: 40489
Change-Id: I920950e93f214961aa91d916e606dbb22c8dc2d9

tests/phpunit/includes/LinksUpdateTest.php

index 244e4a8..a79b3a2 100644 (file)
@@ -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" );