]> 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)
committerGalen Charlton <gmc@esilibrary.com>
Tue, 16 Jul 2013 14:17:27 +0000 (14:17 +0000)
commitd2a756128853e9d3a1e0b99f47a04c9e0f31de75
tree60aeb4f66e7513549c1ba2a6d7247aa06b21f91b
parent45fafb31ce03244011513a3a758e28f8db9615a4
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>
t/db_dependent/VirtualShelves.t