]> git.koha-community.org Git - koha.git/commit
Bug 17651: borrowers.updated_on can be null - swagger def
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Thu, 17 Nov 2016 15:12:01 +0000 (15:12 +0000)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 18 Nov 2016 13:39:06 +0000 (13:39 +0000)
commit68173511bf7004eac8c7ecd34bfcdc79dd215ecc
tree0865bfdededd1c167b5f5ccfe0ab1fee9decfc60
parent6aecba93a5bd762c82fc67ba0bbe824e55908ad5
Bug 17651: borrowers.updated_on can be null - swagger def

The swagger file does not consider borrowers.updated_on as a nullable
value, it should

Test plan:
0/ Do not apply this patch
1/ update borrowers set updated_on=null;
2/ prove t/db_dependent/api/v1/patrons.t
=> Fail
3/ Apply this patch
4/ prove t/db_dependent/api/v1/patrons.t
=> green

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
api/v1/swagger/definitions/patron.json