]> git.koha-community.org Git - koha.git/commit
Bug 25662: (follow-up) Add tests for the wrong patron_id added behaviour
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 23 Jun 2020 13:35:54 +0000 (10:35 -0300)
committerLucas Gass <lucas@bywatersolutions.com>
Fri, 4 Sep 2020 20:10:55 +0000 (20:10 +0000)
commit6c442331b5bc981ca3be61308a65cbc937bdcb21
tree24f46950e31fdb222ded7dfc7090e323ac013fc5
parent3fac75b079299a49f90d0b958753f3c2c7e15b1f
Bug 25662: (follow-up) Add tests for the wrong patron_id added behaviour

This patch adds trivial tests for the new error (400) raised when the
passed patron_id doesn't exist.

To test:
1. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/holds.t
=> SUCCESS: Tests pass!
2. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit deee485a24df0734cace673dc519f15d41a5b575)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
t/db_dependent/api/v1/holds.t