Bug 21756: (QA follow-up) Correct the test for 'Lost Item' offsets
authorMartin Renvoize <martin.renvoize@ptfs-europe.com>
Wed, 20 Feb 2019 11:10:49 +0000 (11:10 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 13 Mar 2019 03:58:30 +0000 (03:58 +0000)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

t/db_dependent/Circulation/NoIssuesChargeGuarantees.t

index 2814405..16312a4 100644 (file)
@@ -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;