]> git.koha-community.org Git - koha.git/commit
Bug 10499: VirtualShelves.t - wrap tests in a database transaction
authorKenza Zaki <kenza.zaki@biblibre.com>
Mon, 1 Jul 2013 08:48:03 +0000 (10:48 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 25 Jul 2013 15:42:17 +0000 (12:42 -0300)
commit88c877ab2d09382c34d20813595c2e112e08136f
tree5a0ba3a5b3ce1fc632b06ecf5a2ecaa1b6065c06
parenta89699cc66ab6471d55d13d67da322e975dd5c57
Bug 10499: VirtualShelves.t - wrap tests in a database transaction

Before this patch, the queries in VirtualShelves.t were committed 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/VirtualShelves.t
VirtualShelves.t .. ok
All tests successful.
Files=1, Tests=72,  1 wallclock secs ( 0.06 usr  0.00 sys +  0.72 cusr  0.06 csys =  0.84 CPU)
Result: PASS

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
All tests pass.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
(cherry picked from commit d2a756128853e9d3a1e0b99f47a04c9e0f31de75)
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
t/db_dependent/VirtualShelves.t