Uncomment and fix a test
authorMax Semenik <maxsem.wiki@gmail.com>
Sat, 17 Mar 2018 07:42:25 +0000 (00:42 -0700)
committerMax Semenik <maxsem.wiki@gmail.com>
Sat, 17 Mar 2018 07:42:25 +0000 (00:42 -0700)
Change-Id: I78524b01aac514f5fc54152ddeed59169b7e04fc

tests/phpunit/includes/api/query/ApiQueryBasicTest.php

index f0d8384..e49e1d8 100644 (file)
@@ -131,7 +131,7 @@ class ApiQueryBasicTest extends ApiQueryTestBase {
        private static $allcategories = [
                [ 'list' => 'allcategories', 'acprefix' => 'AQBT-' ],
                [ 'allcategories' => [
-                       [ '*' => 'AQBT-Cat' ],
+                       [ 'category' => 'AQBT-Cat' ],
                ] ]
        ];
 
@@ -233,9 +233,7 @@ class ApiQueryBasicTest extends ApiQueryTestBase {
                $this->check( self::$allpages );
                $this->check( self::$alllinks );
                $this->check( self::$alltransclusions );
-               // This test is temporarily disabled until a sqlite bug is fixed
-               // Confirmed still broken 15-nov-2013
-               // $this->check( self::$allcategories );
+               $this->check( self::$allcategories );
                $this->check( self::$backlinks );
                $this->check( self::$embeddedin );
                $this->check( self::$categorymembers );