[Koha-bugs] [Bug 17032] REST API tests: Make sure Swagger object definition is up-to-date with database
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Aug 3 14:09:32 CEST 2016
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=17032
--- Comment #1 from Lari Taskula <larit at student.uef.fi> ---
Created attachment 53936
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=53936&action=edit
Bug 17032: Make sure Swagger object definition is up-to-date with Koha-object
If a definition in api/v1/definitions/*.json has a corresponding Koha-object by
filename, compare properties of the definition and columns of the Koha-object
and ensure that all columns are defined inside properties of the definition.
To test:
1. Run t/db_dependent/api/v1/swagger/definitions.t
2. See that all of the tests pass. (If not, file a bug report to fix missing
properties in the Swagger definition.)
3. Remove a property from api/v1/swagger/definitions/patron.json
4. Repeat step 1
5. See that test fails and lets you know that the property you just removed
is missing from the definition.
--
You are receiving this mail because:
You are watching all bug changes.
You are the assignee for the bug.
More information about the Koha-bugs
mailing list