[Koha-bugs] [Bug 10499] UT: VirtualShelves.t needs a database transaction

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Jul 1 10:51:02 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10499

kenza <kenza.zaki at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #19221|0                           |1
        is obsolete|                            |

--- Comment #6 from kenza <kenza.zaki at biblibre.com> ---
Created attachment 19308
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=19308&action=edit
Bug 10499: VirtualShelves.t - wrap tests in a database connection

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 connection.

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

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list