[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 12 15:44:06 CEST 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15486
--- Comment #82 from Josef Moravec <josef.moravec at gmail.com> ---
Created attachment 80479
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=80479&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.
Signed-off-by: Séverine QUEUNE <severine.queune at bulac.fr>
Signed-off-by: Josef Moravec <josef.moravec at gmail.com>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list