Bug 20262: (QA follow-up) Update unit tests for changes to payin_amount
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
parent
11c05e3d81
commit
07e5f13d90
1 changed files with 2 additions and 2 deletions
|
@ -3362,7 +3362,7 @@ subtest 'AddReturn | is_overdue' => sub {
|
||||||
payment_type => 'CASH',
|
payment_type => 'CASH',
|
||||||
user_id => $patron->borrowernumber,
|
user_id => $patron->borrowernumber,
|
||||||
amount => 39.00,
|
amount => 39.00,
|
||||||
lines => [$lost_fee_line]
|
debits => [$lost_fee_line]
|
||||||
});
|
});
|
||||||
|
|
||||||
$lost_fee_line->discard_changes;
|
$lost_fee_line->discard_changes;
|
||||||
|
@ -3422,7 +3422,7 @@ subtest 'AddReturn | is_overdue' => sub {
|
||||||
payment_type => 'CASH',
|
payment_type => 'CASH',
|
||||||
user_id => $patron->borrowernumber,
|
user_id => $patron->borrowernumber,
|
||||||
amount => $replacement_amount,
|
amount => $replacement_amount,
|
||||||
lines => [$lost_fee_line]
|
debits => [$lost_fee_line]
|
||||||
});
|
});
|
||||||
|
|
||||||
$lost_fee_line->discard_changes;
|
$lost_fee_line->discard_changes;
|
||||||
|
|
Loading…
Reference in a new issue