From 7d5a5e01158996112c60e204bb20bd3595762614 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 --- t/db_dependent/Accounts.t | 3 +++ 1 file changed, 3 insertions(+) diff --git a/t/db_dependent/Accounts.t b/t/db_dependent/Accounts.t index 3e1bc0e6af..8d995e5ce0 100644 --- a/t/db_dependent/Accounts.t +++ b/t/db_dependent/Accounts.t @@ -640,6 +640,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 { -- 2.11.0