X-Git-Url: https://git.cyclocoop.org/%7B%7B%20url_for%28%27votes%27%2C%20votes=%27waiting%27%29%20%7D%7D?a=blobdiff_plain;f=tests%2Fphpunit%2Fmaintenance%2FcategoriesRdfTest.php;h=5068e7011f749814244e8ad047047699ce519d08;hb=a39062ee402ee60c041c016b92964dfaba96f3d0;hp=48935c3984938c0c067d105b96927241fa596686;hpb=fe21134572ff9f6ea1ed5a7a1cceb85b6511c072;p=lhc%2Fweb%2Fwiklou.git diff --git a/tests/phpunit/maintenance/categoriesRdfTest.php b/tests/phpunit/maintenance/categoriesRdfTest.php index 48935c3984..5068e7011f 100644 --- a/tests/phpunit/maintenance/categoriesRdfTest.php +++ b/tests/phpunit/maintenance/categoriesRdfTest.php @@ -14,12 +14,33 @@ class CategoriesRdfTest extends MediaWikiLangTestCase { return [ // batch 1 [ - (object)[ 'page_title' => 'Category One', 'page_id' => 1 ], - (object)[ 'page_title' => '2 Category Two', 'page_id' => 2 ], + (object)[ + 'page_title' => 'Category One', + 'page_id' => 1, + 'pp_propname' => null, + 'cat_pages' => '20', + 'cat_subcats' => '10', + 'cat_files' => '3' + ], + (object)[ + 'page_title' => '2 Category Two', + 'page_id' => 2, + 'pp_propname' => 'hiddencat', + 'cat_pages' => 20, + 'cat_subcats' => 0, + 'cat_files' => 3 + ], ], // batch 2 [ - (object)[ 'page_title' => 'Третья категория', 'page_id' => 3 ], + (object)[ + 'page_title' => 'Третья категория', + 'page_id' => 3, + 'pp_propname' => null, + 'cat_pages' => '0', + 'cat_subcats' => '0', + 'cat_files' => '0' + ], ] ]; }