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)
committerGalen Charlton <gmc@esilibrary.com>
Thu, 27 Jun 2013 15:23:24 +0000 (08:23 -0700)
commitbfbc646fdd9ca4b90a0bc2751d0faa95d9e93ba1
tree421584cecb1a928dfb554c775392443531e1911d
parent4e51ec5aae50c878bbdca6994361b12d7ba20d0a
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>
t/db_dependent/HoldsQueue.t