[Koha-patches] [PATCH] Bug 11439: (follow up) add missing rollback call

Tomas Cohen Arazi tomascohen at gmail.com
Thu Jan 9 20:01:13 CET 2014


This UT got wrapped inside a transaction with autocommit=0 but
the rollback call was inadvertedly ommited. Adding it.

Regards
To+

Sponsored-by: Universidad Nacional de Cordoba
---
 t/db_dependent/XISBN.t | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/t/db_dependent/XISBN.t b/t/db_dependent/XISBN.t
index 55f25a1..6ff6063 100755
--- a/t/db_dependent/XISBN.t
+++ b/t/db_dependent/XISBN.t
@@ -65,6 +65,8 @@ is( $results_xisbn->[0]->{biblionumber},
     $biblionumber3,
     "Gets correct biblionumber from a book with a similar isbn using XISBN." );
 
+$dbh->rollback;
+
 # Util subs
 
 # Add new biblio with isbn and return biblionumber
-- 
1.8.5.2



More information about the Koha-patches mailing list