Bug 17654: Add tests to enforce swagger definition files integrity
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 17 Nov 2016 16:08:00 +0000 (16:08 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 18 Nov 2016 14:04:22 +0000 (14:04 +0000)
commitf67adfcb11e0465cb2016663e0df7038e5d2c811
tree3496991df052e2c026b0dbfc3d2e5301c0b6818d
parent4366a0b4699c9c16ce63e36fe7e5c3c0317c17e6
Bug 17654: Add tests to enforce swagger definition files integrity

The swagger definition error we found on bug 17651 should have been
caught earlier with tests.

Now we are testing for nullable columns.

QA: Have a look at the FIXME

Test plan:
Apply without 17651 (revert if already pushed)
The tests won't pass
On top of 17651 the tests will pass

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
t/db_dependent/api/v1/swagger/definitions.t