Daniel Kinzler has uploaded a new change for review. Change subject: Refactor Wikibase API tests. ......................................................................
Refactor Wikibase API tests. Created common setup of well known test items which caqn be reused by all test classes. Changed tests to use it. NOTE: the new tests actually uncovered two bugs in ApiSetSiteLink. ApiSetSiteLinkTest will report two failed assertions until these are fixed. Change-Id: I2a49c7ea7ea14ffda73bbdfd2d067b407f4dc161 --- A repo/tests/phpunit/includes/api/ApiGetItemsTest.php M repo/tests/phpunit/includes/api/ApiLanguageAttributeTest.php M repo/tests/phpunit/includes/api/ApiModifyItemBase.php M repo/tests/phpunit/includes/api/ApiPermissionsTest.php M repo/tests/phpunit/includes/api/ApiSetAliasesTest.php M repo/tests/phpunit/includes/api/ApiSetItemTest.php M repo/tests/phpunit/includes/api/ApiSetSiteLinkTest.php 7 files changed, 1,267 insertions(+), 858 deletions(-) git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/Wikibase refs/changes/32/17332/1 -- To view, visit https://gerrit.wikimedia.org/r/17332 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: I2a49c7ea7ea14ffda73bbdfd2d067b407f4dc161 Gerrit-PatchSet: 1 Gerrit-Project: mediawiki/extensions/Wikibase Gerrit-Branch: master Gerrit-Owner: Daniel Kinzler <[email protected]> _______________________________________________ MediaWiki-commits mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits
