From dcf0bf52337278fce4de742a58241b92073c3514 Mon Sep 17 00:00:00 2001 From: Galen Charlton Date: Mon, 26 Aug 2013 14:49:17 +0000 Subject: [PATCH] Bug 10719: (follow-up) clear existing loans before running circ tests Signed-off-by: Galen Charlton --- t/db_dependent/Circulation.t | 3 +++ 1 file changed, 3 insertions(+) diff --git a/t/db_dependent/Circulation.t b/t/db_dependent/Circulation.t index 483ce847ac..1ef6271bbc 100755 --- a/t/db_dependent/Circulation.t +++ b/t/db_dependent/Circulation.t @@ -21,6 +21,9 @@ my $dbh = C4::Context->dbh; $dbh->{AutoCommit} = 0; $dbh->{RaiseError} = 1; +# Start with a clean slate +$dbh->do('DELETE FROM issues'); + my $CircControl = C4::Context->preference('CircControl'); my $HomeOrHoldingBranch = C4::Context->preference('HomeOrHoldingBranch'); -- 2.39.2