[Koha-bugs] [Bug 9788] Improvements for calling GetReservesFromItemnumber

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Oct 30 18:19:20 CET 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9788

--- Comment #36 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 22610
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=22610&action=edit
[SIGNED OFF] Bug 9788: Unit tests for changed routine GetReservesFromItemnumber

Adds three tests to Reserves.t for GetReservesFromItemnumber.
We test if this routine does not return a future next available hold,
a future item level hold. And if it does return a future wait (that is:
a confirmed future hold, using ConfirmFutureHolds).

Note that Holds.t does also contains some basic tests for this routine,
but the additional tests seem to better located in the direct context of
tests for bug 9761 for ConfirmFutureHolds.

Test plan:
Run both t/db_dependent/Holds.t and t/db_dependent/Reserves.t.
Verify if both tests do not fail.

Holds.t required adding CPL branch to function.
Reserves.t does not fail for the three tests in question.

Signed-off-by: Mark Tompsett <mtompset at hotmail.com>

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


More information about the Koha-bugs mailing list