[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
Tue Jul 2 16:00:19 CEST 2013


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

Kyle M Hall <kyle at bywatersolutions.com> changed:

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

--- Comment #8 from Kyle M Hall <kyle at bywatersolutions.com> ---
Created attachment 19343
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=19343&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

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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


More information about the Koha-bugs mailing list