[Koha-bugs] [Bug 25662] Create hold route does not check maxreserves syspref

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 23 15:39:25 CEST 2020


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25662

--- Comment #5 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 106206
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=106206&action=edit
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 at theke.io>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list