From: Max Semenik Date: Sat, 17 Mar 2018 07:42:25 +0000 (-0700) Subject: Uncomment and fix a test X-Git-Tag: 1.31.0-rc.0~272^2~1 X-Git-Url: http://git.cyclocoop.org/%22%2C%20generer_url_ecrire%28?a=commitdiff_plain;h=1a7e87726f63c1fd50d8bf2205f9bae528419993;p=lhc%2Fweb%2Fwiklou.git Uncomment and fix a test Change-Id: I78524b01aac514f5fc54152ddeed59169b7e04fc --- diff --git a/tests/phpunit/includes/api/query/ApiQueryBasicTest.php b/tests/phpunit/includes/api/query/ApiQueryBasicTest.php index f0d83843db..e49e1d8b30 100644 --- a/tests/phpunit/includes/api/query/ApiQueryBasicTest.php +++ b/tests/phpunit/includes/api/query/ApiQueryBasicTest.php @@ -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 );