]> 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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Tue, 25 Aug 2020 13:07:27 +0000 (15:07 +0200)
commitdeee485a24df0734cace673dc519f15d41a5b575
treea1fa69787b2a7044bffe5e9f3fe61b7bcfac1f92
parent69bdc94cd4f420094c5706fb2bfc472ba24a5054
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>
t/db_dependent/api/v1/holds.t