[Koha-bugs] [Bug 14526] MoveReserve should look at future holds too
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Mon Aug 24 08:42:00 CEST 2015
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14526
Marcel de Rooy <m.de.rooy at rijksmuseum.nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #41241|0 |1
is obsolete| |
--- Comment #7 from Marcel de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 41808
-->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41808&action=edit
Bug 14526: Add some unit tests for MoveReserve
The change in MoveReserve from the previous patch begs for a test.
Here we add some to Reserves.t.
In all six tests we place a hold, move it and check the reserves again.
Depending on the status of ConfirmFutureHolds, and the reservedate the
hold should be moved or not.
Test plan:
Run the unit test.
Bonus: If you run Reserves.t by applying this patch but without the first
patch that changed MoveReserve, tests 60 and 61 should fail:
not ok 60 - MoveReserve filled future hold now
not ok 61 - MoveReserve filled future waiting hold now
This may further illustrate the need of the first patch.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list