@@ -, +, @@ call --- t/db_dependent/Circulation.t | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) --- a/t/db_dependent/Circulation.t +++ a/t/db_dependent/Circulation.t @@ -2307,9 +2307,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' ); --