Bug 12427: Allow execution of UTs on a DB with issues
authorJonathan Druart <jonathan.druart@biblibre.com>
Thu, 19 Jun 2014 11:50:31 +0000 (13:50 +0200)
committerTomas Cohen Arazi <tomascohen@gmail.com>
Tue, 24 Jun 2014 12:43:04 +0000 (09:43 -0300)
Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Katrin Fischer <Katrin.Fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
t/db_dependent/Members_Attributes.t

index d36a4c0..2039db0 100755 (executable)
@@ -31,6 +31,7 @@ my $dbh = C4::Context->dbh;
 $dbh->{AutoCommit} = 0;
 $dbh->{RaiseError} = 1;
 
+$dbh->do(q|DELETE FROM issues|);
 $dbh->do(q|DELETE FROM borrowers|);
 $dbh->do(q|DELETE FROM borrower_attributes|);
 $dbh->do(q|DELETE FROM borrower_attribute_types|);