From cd250dae36b8dd03cbfa1b2ab691202a51daa58b Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Thu, 1 Nov 2018 11:47:16 -0300 Subject: [PATCH] Bug 18677: Make the tests pass Signed-off-by: Michal Denar Signed-off-by: Marcel de Rooy Signed-off-by: Nick Clemens --- t/db_dependent/Accounts.t | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/t/db_dependent/Accounts.t b/t/db_dependent/Accounts.t index faba445..7d8a9e6 100644 --- a/t/db_dependent/Accounts.t +++ b/t/db_dependent/Accounts.t @@ -639,6 +639,9 @@ subtest "Koha::Account::chargelostitem tests" => sub { is( $lostfine->amount, "6.120000", "Lost fine equals replacementcost when pref on and default set"); is( $procfee->amount, "2.040000", "Processing fee if processing fee"); is( $procfee->issue_id, $cli_issue_id_4, "Processing fee issue id is correct" ); + + # Cleanup - this must be replaced with a transaction per subtest + Koha::Patrons->find($cli_borrowernumber)->checkouts->delete; }; subtest "Koha::Account::non_issues_charges tests" => sub { -- 1.7.2.5