Bug 22522: Fix several REST API tests
authorEre Maijala <ere.maijala@helsinki.fi>
Fri, 7 Feb 2020 11:49:46 +0000 (13:49 +0200)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Tue, 25 Feb 2020 13:44:22 +0000 (13:44 +0000)
commitd7407055a891e723c7840739ff277b699668a56d
tree447b9e253dac8eb549912e1e689b367d908a8bbd
parent2061132e457b85f780a5b77f5272db6b707ad7ea
Bug 22522: Fix several REST API tests

Fixes among others the invalid use of json_has() which caused broken tests to pass with older Mojolicious versions.

Signed-off-by: Mason James <mason@kohaaloha.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
api/v1/swagger/x-primitives.json
t/db_dependent/api/v1/acquisitions_orders.t
t/db_dependent/api/v1/holds.t
t/db_dependent/api/v1/libraries.t
t/db_dependent/api/v1/patrons.t
t/db_dependent/api/v1/patrons_password.t