]> git.koha-community.org Git - koha.git/commit
Bug 10575 : GetOrdersByBiblionumber.t needs a database transaction
authorKenza Zaki <kenza.zaki@biblibre.com>
Thu, 11 Jul 2013 14:28:11 +0000 (16:28 +0200)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 15 Jul 2013 16:20:53 +0000 (16:20 +0000)
commit45fafb31ce03244011513a3a758e28f8db9615a4
treee335a9113efa82bc1635bf40455785aeb15e9fd4
parent80ea8bf821ba83fd4506f5298f5a582051b44e06
Bug 10575 : GetOrdersByBiblionumber.t needs a database transaction

Before this patch, the queries in GetOrdersByBiblionumber.t were commited in the database and have to be removed at the end.
This patch wraps tests in a database transaction.

Test Plan :
prove t/db_dependent/Acquisition/GetOrdersByBiblionumber.t
t/db_dependent/Acquisition/GetOrdersByBiblionumber.t .. ok
All tests successful.
Files=1, Tests=3,  0 wallclock secs ( 0.02 usr  0.01 sys +  0.37 cusr  0.05 csys =  0.45 CPU)
Result: PASS

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Tests pass.
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
t/db_dependent/Acquisition/GetOrdersByBiblionumber.t