Reedy created this task. Reedy added projects: MediaWiki-Core-Testing, Wikidata, Wikidata-Query-Service.
TASK DESCRIPTION This means that https://gerrit.wikimedia.org/r/c/mediawiki/core/+/624786/2/maintenance/dumpCategoriesAsRdf.php#167 fails 18:21:10 1) MediaWiki\Tests\Maintenance\CategoriesRdfTest::testCategoriesDump 18:21:10 Error: Call to a member function setCaller() on array 18:21:10 18:21:10 /workspace/src/maintenance/dumpCategoriesAsRdf.php:152 18:21:10 /workspace/src/tests/phpunit/maintenance/categoriesRdfTest.php:90 18:21:10 /workspace/src/tests/phpunit/MediaWikiIntegrationTestCase.php:446 18:21:10 /workspace/src/tests/phpunit/phpunit.php:75 18:21:10 /workspace/src/maintenance/doMaintenance.php:107 18:21:10 /workspace/src/tests/phpunit/phpunit.php:134 As it's not a BatchRowIterator... It's now just an array. It works fine for the PHP code as is, but breaks other stuff... Is there a better way we can mock BatchRowIterator for this test? Created in T157676: Provide access to category information from WDQS SPARQL <https://phabricator.wikimedia.org/T157676> TASK DETAIL https://phabricator.wikimedia.org/T262075 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Reedy Cc: Aklapper, Reedy, CBogen, Akuckartz, darthmon_wmde, DannyS712, Nandana, Namenlos314, Lahi, Gq86, Lucas_Werkmeister_WMDE, GoranSMilovanovic, QZanden, EBjune, merbst, LawExplorer, _jensen, rosalieper, Scott_WUaS, Jonas, Xmlizer, jkroll, Wikidata-bugs, Jdouglas, aude, Tobias1984, Manybubbles, Jdforrester-WMF, Mbch331
_______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs