Do not insert page titles into querycache.qc_value
[lhc/web/wiklou.git] / tests / phpunit / includes / specials / SpecialUncategorizedcategoriesTest.php
index 2ecef79..fb49e85 100644 (file)
@@ -9,7 +9,7 @@ class UncategorizedCategoriesPageTest extends MediaWikiTestCase {
         */
        public function testGetQueryInfo( $msgContent, $expected ) {
                $msg = new RawMessage( $msgContent );
-               $mockContext = $this->getMockBuilder( 'RequestContext' )->getMock();
+               $mockContext = $this->getMockBuilder( RequestContext::class )->getMock();
                $mockContext->method( 'msg' )->willReturn( $msg );
                $special = new UncategorizedCategoriesPage();
                $special->setContext( $mockContext );
@@ -21,7 +21,6 @@ class UncategorizedCategoriesPageTest extends MediaWikiTestCase {
                        'fields' => [
                                'namespace' => 'page_namespace',
                                'title' => 'page_title',
-                               'value' => 'page_title',
                        ],
                        'conds' => [
                                0 => 'cl_from IS NULL',