Browse Source

Bug 21756: (QA follow-up) Correct the test for 'Lost Item' offsets

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>
19.05.x
Martin Renvoize 5 years ago
committed by Nick Clemens
parent
commit
0118ccf9dd
  1. 2
      t/db_dependent/Circulation/NoIssuesChargeGuarantees.t

2
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;

Loading…
Cancel
Save