Merge "Force $wgCategoryCollation to be uppercase in tests"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Wed, 6 Mar 2013 20:39:42 +0000 (20:39 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Wed, 6 Mar 2013 20:39:42 +0000 (20:39 +0000)
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" );