@@ -, +, @@ --- t/db_dependent/Circulation.t | 10 ++++++++++ 1 file changed, 10 insertions(+) --- a/t/db_dependent/Circulation.t +++ a/t/db_dependent/Circulation.t @@ -1994,6 +1994,16 @@ subtest '_FixAccountForLostAndReturned' => sub { my $patron = $builder->build( { source => 'Borrower' } ); + Koha::Account::Line->new( + { + borrowernumber => $patron->{borrowernumber}, + accounttype => 'F', + itemnumber => $itemnumber, + amount => 10.00, + amountoutstanding => 10.00, + } + )->store(); + my $accountline = Koha::Account::Line->new( { borrowernumber => $patron->{borrowernumber}, --