From f17485bff46a51bb71fe122d27929f9be5e6b9a1 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Thu, 21 Feb 2019 08:47:55 +0000 Subject: [PATCH] Bug 21756: (follow-up) Replace newly introduced manualinvoice call Signed-off-by: Martin Renvoize Signed-off-by: Kyle M Hall --- t/db_dependent/Circulation.t | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/t/db_dependent/Circulation.t b/t/db_dependent/Circulation.t index 039b7bc31f..1f9b448a34 100755 --- a/t/db_dependent/Circulation.t +++ b/t/db_dependent/Circulation.t @@ -2338,9 +2338,8 @@ subtest '_FixAccountForLostAndReturned' => sub { 'Payment applied' ); - # TODO use add_debit when time comes my $manual_debit_amount = 80; - C4::Accounts::manualinvoice( $patron->id, undef, undef, 'FU', $manual_debit_amount ); + $account->add_debit( { amount => $manual_debit_amount, type => 'fine' } ); is( $account->balance, $manual_debit_amount + $replacement_amount - $payment_amount, 'Manual debit applied' ); -- 2.17.2 (Apple Git-113)