Bug 20285: Unit Test
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Nick Clemens <nick@bywatersolutions.com> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
f488943c25
commit
096ba7d34c
|
|
@ -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},
|
||||
|
|
|
|||
Loading…
Reference in New Issue