Bug 11439: (follow up) add missing rollback call
authorTomas Cohen Arazi <tomascohen@gmail.com>
Thu, 9 Jan 2014 18:51:11 +0000 (15:51 -0300)
committerGalen Charlton <gmc@esilibrary.com>
Fri, 10 Jan 2014 15:42:22 +0000 (15:42 +0000)
This UT got wrapped inside a transaction with autocommit=0 but
the rollback call was inadvertedly ommited. Adding it.

[RM note: an explicit rollback is not required, as the
 transaction will roll back automatically at the end of
 the DB session. Nonetheless, it hurts nothing to have
 it be explicit.]

Sponsored-by: Universidad Nacional de Cordoba
Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
t/db_dependent/XISBN.t

index 55f25a1..6ff6063 100755 (executable)
@@ -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