API: Finish killing "raw mode"
[lhc/web/wiklou.git] / tests / phpunit / includes / api / ApiQueryAllPagesTest.php
index bc08afe..0ac00ee 100644 (file)
@@ -6,12 +6,18 @@
  * @group medium
  */
 class ApiQueryAllPagesTest extends ApiTestCase {
+
        protected function setUp() {
                parent::setUp();
                $this->doLogin();
        }
 
-       function testBug25702() {
+       /**
+        *Test bug 25702
+        *Prefixes of API search requests are not handled with case sensitivity and may result
+        *in wrong search results
+        */
+       public function testPrefixNormalizationSearchBug() {
                $title = Title::newFromText( 'Category:Template:xyz' );
                $page = WikiPage::factory( $title );
                $page->doEdit( 'Some text', 'inserting content' );