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

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu Oct 3 12:16:05 CEST 2013


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

M. de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #21481|0                           |1
        is obsolete|                            |

--- Comment #31 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 21750
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=21750&action=edit
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.

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


More information about the Koha-bugs mailing list