From 46e3e98c78147ad730b463e40e40152d105c4af5 Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Fri, 29 Mar 2019 09:47:17 +0000 Subject: [PATCH] Bug 22563: (follow-up) Fix Lost in NoIssuesChargeGuarantees test --- t/db_dependent/Circulation/NoIssuesChargeGuarantees.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Circulation/NoIssuesChargeGuarantees.t b/t/db_dependent/Circulation/NoIssuesChargeGuarantees.t index b0ba95193a..df2a407c42 100644 --- a/t/db_dependent/Circulation/NoIssuesChargeGuarantees.t +++ b/t/db_dependent/Circulation/NoIssuesChargeGuarantees.t @@ -75,7 +75,7 @@ is( $issuingimpossible->{DEBT_GUARANTEES} + 0, '10.00' + 0, "Patron cannot check my $accountline = Koha::Account::Lines->search({ borrowernumber => $guarantee->{borrowernumber} })->next(); is( $accountline->amountoutstanding, "10.000000", "Found 10.00 amount outstanding" ); -is( $accountline->accounttype, "L", "Account type is L" ); +is( $accountline->accounttype, "LOST", "Account type is LOST" ); my $offset = Koha::Account::Offsets->search({ debit_id => $accountline->id })->next(); is( $offset->type, 'Lost Item', 'Got correct offset type' ); -- 2.20.1