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

(-)a/t/db_dependent/Circulation/NoIssuesChargeGuarantees.t (-2 / +1 lines)
Lines 75-81 is( $issuingimpossible->{DEBT_GUARANTEES} + 0, '10.00' + 0, "Patron cannot check Link Here
75
75
76
my $accountline = Koha::Account::Lines->search({ borrowernumber => $guarantee->{borrowernumber} })->next();
76
my $accountline = Koha::Account::Lines->search({ borrowernumber => $guarantee->{borrowernumber} })->next();
77
is( $accountline->amountoutstanding, "10.000000", "Found 10.00 amount outstanding" );
77
is( $accountline->amountoutstanding, "10.000000", "Found 10.00 amount outstanding" );
78
is( $accountline->accounttype, "L", "Account type is L" );
78
is( $accountline->accounttype, "LOST", "Account type is LOST" );
79
79
80
my $offset = Koha::Account::Offsets->search({ debit_id => $accountline->id })->next();
80
my $offset = Koha::Account::Offsets->search({ debit_id => $accountline->id })->next();
81
is( $offset->type, 'Lost Item', 'Got correct offset type' );
81
is( $offset->type, 'Lost Item', 'Got correct offset type' );
82
- 

Return to bug 22563