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