From 4151a44ba17a0ff1a3016cf2d30c51c654f6ac33 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 Content-Type: text/plain; charset=utf-8 Signed-off-by: Michal Denar Signed-off-by: Marcel de Rooy --- 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 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 { -- 2.1.4