Merge "Rename testBug25702() to testPrefixNormalizationSearchBug()"
authorjenkins-bot <jenkins-bot@gerrit.wikimedia.org>
Sat, 13 Jun 2015 01:57:25 +0000 (01:57 +0000)
committerGerrit Code Review <gerrit@wikimedia.org>
Sat, 13 Jun 2015 01:57:25 +0000 (01:57 +0000)
tests/phpunit/includes/api/ApiQueryAllPagesTest.php

index 124988f..0ac00ee 100644 (file)
@@ -13,9 +13,11 @@ class ApiQueryAllPagesTest extends ApiTestCase {
        }
 
        /**
-        * @todo give this test a real name explaining what is being tested here
+        *Test bug 25702
+        *Prefixes of API search requests are not handled with case sensitivity and may result
+        *in wrong search results
         */
-       public function testBug25702() {
+       public function testPrefixNormalizationSearchBug() {
                $title = Title::newFromText( 'Category:Template:xyz' );
                $page = WikiPage::factory( $title );
                $page->doEdit( 'Some text', 'inserting content' );