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>
This commit is contained in:
parent
a23577cefa
commit
0118ccf9dd
|
|
@ -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…
Reference in New Issue