View | Details | Raw Unified | Return to bug 22563
Collapse All | Expand All

(-)a/t/db_dependent/Koha/Account.t (-4 / +3 lines)
Lines 622-628 subtest 'pay() handles lost items when paying a specific lost fee' => sub { Link Here
622
            borrowernumber => $patron->id,
622
            borrowernumber => $patron->id,
623
            itemnumber     => $item->id,
623
            itemnumber     => $item->id,
624
            date           => \'NOW()',
624
            date           => \'NOW()',
625
            accounttype    => 'L',
625
            accounttype    => 'LOST',
626
            interface      => 'cli',
626
            interface      => 'cli',
627
            amount => '1',
627
            amount => '1',
628
            amountoutstanding => '1',
628
            amountoutstanding => '1',
Lines 695-701 subtest 'pay() handles lost items when paying by amount ( not specifying the los Link Here
695
            borrowernumber => $patron->id,
695
            borrowernumber => $patron->id,
696
            itemnumber     => $item->id,
696
            itemnumber     => $item->id,
697
            date           => \'NOW()',
697
            date           => \'NOW()',
698
            accounttype    => 'L',
698
            accounttype    => 'LOST',
699
            interface      => 'cli',
699
            interface      => 'cli',
700
            amount => '1',
700
            amount => '1',
701
            amountoutstanding => '1',
701
            amountoutstanding => '1',
Lines 766-772 subtest 'Koha::Account::Line::apply() handles lost items' => sub { Link Here
766
            borrowernumber    => $patron->id,
766
            borrowernumber    => $patron->id,
767
            itemnumber        => $item->id,
767
            itemnumber        => $item->id,
768
            date              => \'NOW()',
768
            date              => \'NOW()',
769
            accounttype       => 'L',
769
            accounttype       => 'LOST',
770
            interface         => 'cli',
770
            interface         => 'cli',
771
            amount            => '1',
771
            amount            => '1',
772
            amountoutstanding => '1',
772
            amountoutstanding => '1',
773
- 

Return to bug 22563