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:
Kyle Hall 2022-06-13 08:05:16 -04:00 committed by Tomas Cohen Arazi
parent 11c05e3d81
commit 07e5f13d90
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

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