Bug 10336: HoldsQueue.t needs to create its own data
authorJonathan Druart <jonathan.druart@biblibre.com>
Fri, 24 May 2013 14:18:59 +0000 (16:18 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Mon, 15 Jul 2013 17:34:21 +0000 (14:34 -0300)
commit509972e3858d3b3c9f915d09a1e10f77cbe105fd
tree5f2416a18689d490664af25c17db246871d4fc1a
parent20d43f6c02e2bc3fbc1a79b00b995c128a4b41ef
Bug 10336: HoldsQueue.t needs to create its own data

After applying this patch and the patch submitted in bug 10495, you can
run prove t/db_dependent/HoldsQueue.t and admire that all tests pass.

This patch creates a borrower and uses Koha routines instead of directly
updating the database.

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit bfbc646fdd9ca4b90a0bc2751d0faa95d9e93ba1)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
t/db_dependent/HoldsQueue.t