From 0bab3862fa1bd44a0d1faeec497023670dd52e2e Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Tue, 18 Aug 2015 16:51:19 +0100 Subject: [PATCH] Bug 11229: Make the tests pass even if issues exist in the DB This is not introduced by the previous patches of this patchset. Signed-off-by: Jonathan Druart --- t/db_dependent/Accounts.t | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/t/db_dependent/Accounts.t b/t/db_dependent/Accounts.t index 6bf0bb0..cefbb3b 100644 --- a/t/db_dependent/Accounts.t +++ b/t/db_dependent/Accounts.t @@ -54,8 +54,8 @@ my $dbh = C4::Context->dbh; $dbh->{RaiseError}=1; $dbh->{AutoCommit}=0; $dbh->do(q|DELETE FROM accountlines|); -$dbh->do(q|DELETE FROM borrowers|); $dbh->do(q|DELETE FROM issues|); +$dbh->do(q|DELETE FROM borrowers|); my $branchcode = 'CPL'; my $borrower_number; @@ -293,4 +293,4 @@ subtest "makepartialpayment() tests" => sub { $dbh->rollback; -1; \ No newline at end of file +1; -- 2.1.0