Bug 32450: (QA follow-up) Fix failing tests

This patch fixes the failing tests in t/db_dependent/SIP/Patron.t

Test plan:
Run prove -v t/db_dependent/SIP/Patron.t and all tests should pass

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
This commit is contained in:
Matt Blenkinsop 2023-04-19 10:27:59 +00:00 committed by Tomas Cohen Arazi
parent 8778974bf6
commit 5a7624fe7d
Signed by: tomascohen
GPG key ID: 0A272EA1B2F3C15F

View file

@ -296,6 +296,7 @@ subtest "NoIssuesChargeGuarantees tests" => sub {
value => {
borrowernumber => $patron->borrowernumber,
amountoutstanding => 11,
debit_type_code => 'OVERDUE',
}
}
)->store;
@ -306,6 +307,7 @@ subtest "NoIssuesChargeGuarantees tests" => sub {
value => {
borrowernumber => $child->borrowernumber,
amountoutstanding => 0.11,
debit_type_code => 'OVERDUE',
}
}
)->store;
@ -346,6 +348,7 @@ subtest "NoIssuesChargeGuarantorsWithGuarantees tests" => sub {
value => {
borrowernumber => $patron->borrowernumber,
amountoutstanding => 11,
debit_type_code => 'OVERDUE',
}
}
)->store;
@ -356,6 +359,7 @@ subtest "NoIssuesChargeGuarantorsWithGuarantees tests" => sub {
value => {
borrowernumber => $child->borrowernumber,
amountoutstanding => 0.11,
debit_type_code => 'OVERDUE',
}
}
)->store;