[Koha-bugs] [Bug 15486] Restrict number of holds placed by day

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 27 16:45:07 CEST 2017


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

--- Comment #35 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 68731
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=68731&action=edit
Bug 15486: Unit tests

This patch introduces unit tests for the new circulation rules option
that allows setting a max holds per day limit.

To test:
- Apply the patch
- Run:
  $ sudo koha-shell kohadev
 k$ cd kohaclone
 k$ prove t/db_dependent/Holds.t
=> FAIL: CanItemBeReserved doesn't check the amount of holds per day
   and the introduced error code is not returned. OK is returned
   instead.

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


More information about the Koha-bugs mailing list