Page MenuHomePhabricator

🟪 Set up contract/schema test for GET /entities/items/{item_id}
Closed, ResolvedPublic

Description

Set up automated tests for the result of T302370 against the spec created in T302312.

Event Timeline

Jakob_WMDE renamed this task from 🟪 Test happy path of GET /entities/items/{item_id} to 🟪 Set up contract/schema test for GET /entities/items/{item_id}.Mar 2 2022, 8:58 AM
Jakob_WMDE updated the task description. (Show Details)

Change 768017 had a related patch set uploaded (by Jakob; author: Jakob):

[mediawiki/extensions/Wikibase@master] REST: Run api-testing from the rest-api/ dir

https://gerrit.wikimedia.org/r/768017

Change 768018 had a related patch set uploaded (by Jakob; author: Jakob):

[mediawiki/extensions/Wikibase@master] REST: Ensure empty objects get serialized as `{}`

https://gerrit.wikimedia.org/r/768018

Change 768019 had a related patch set uploaded (by Jakob; author: Jakob):

[mediawiki/extensions/Wikibase@master] REST: Introduce tests against openapi spec

https://gerrit.wikimedia.org/r/768019

Change 768666 had a related patch set uploaded (by Jakob; author: Jakob):

[mediawiki/extensions/Wikibase@master] REST: Extract createItem function for tests

https://gerrit.wikimedia.org/r/768666

Change 768719 had a related patch set uploaded (by Jakob; author: Jakob):

[mediawiki/extensions/Wikibase@master] REST: Test non-empty item response

https://gerrit.wikimedia.org/r/768719

Change 769952 had a related patch set uploaded (by Silvan Heintze; author: Silvan Heintze):

[mediawiki/extensions/Wikibase@master] REST: Fix typo in global Item specification

https://gerrit.wikimedia.org/r/769952

Change 768017 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Run api-testing from the rest-api/ dir

https://gerrit.wikimedia.org/r/768017

Change 769952 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Fix typo in global Item specification

https://gerrit.wikimedia.org/r/769952

Change 768019 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Introduce tests against openapi spec

https://gerrit.wikimedia.org/r/768019

Change 768666 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Extract createEntity function for tests

https://gerrit.wikimedia.org/r/768666

Change 768719 merged by jenkins-bot:

[mediawiki/extensions/Wikibase@master] REST: Test non-empty item response

https://gerrit.wikimedia.org/r/768719