From 379cb6e9b999b37ad318d955fddd98e20d6b3b8a Mon Sep 17 00:00:00 2001 From: Martin Renvoize Date: Wed, 20 Feb 2019 11:10:49 +0000 Subject: [PATCH] Bug 21756: (QA follow-up) Correct the test for 'Lost Item' offsets Signed-off-by: Martin Renvoize Signed-off-by: Josef Moravec --- 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 2814405515..16312a493e 100644 --- a/t/db_dependent/Circulation/NoIssuesChargeGuarantees.t +++ b/t/db_dependent/Circulation/NoIssuesChargeGuarantees.t @@ -78,7 +78,7 @@ is( $accountline->amountoutstanding, "10.000000", "Found 10.00 amount outstandin is( $accountline->accounttype, "L", "Account type is L" ); my $offset = Koha::Account::Offsets->search({ debit_id => $accountline->id })->next(); -is( $offset->type, 'Manual Debit', 'Got correct offset type' ); +is( $offset->type, 'Lost Item', 'Got correct offset type' ); is( $offset->amount, '10.000000', 'Got amount of $10.00' ); $schema->storage->txn_rollback; -- 2.11.0