Rename testBug25702() to testPrefixNormalizationSearchBug()
authorRobert Hoenig <indielives010@gmail.com>
Tue, 30 Dec 2014 06:37:25 +0000 (00:37 -0600)
committerKunal Mehta <legoktm@gmail.com>
Sat, 13 Jun 2015 01:47:11 +0000 (18:47 -0700)
Change-Id: If17a2cd2c1481cc564c61be73af64938824d9a9c

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' );