From 3e1603fb58ede1511502cc4d4d34848aa43fbe7c Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Mon, 2 May 2016 10:40:27 +0100 Subject: [PATCH] Bug 16405: Fix Circulation/NoIssuesChargeGuarantees.t test 2 Resolves: Failed test 'Patron cannot check out item due to debt for guarantee' at t/db_dependent/Circulation/NoIssuesChargeGuarantees.t line 63. got: '10' expected: '10.00' Test plan: Run the test again. Signed-off-by: Marcel de Rooy Signed-off-by: Tomas Cohen Arazi --- t/db_dependent/Circulation/NoIssuesChargeGuarantees.t | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/t/db_dependent/Circulation/NoIssuesChargeGuarantees.t b/t/db_dependent/Circulation/NoIssuesChargeGuarantees.t index 614c513..a5cbb62 100644 --- a/t/db_dependent/Circulation/NoIssuesChargeGuarantees.t +++ b/t/db_dependent/Circulation/NoIssuesChargeGuarantees.t @@ -60,7 +60,7 @@ is( $issuingimpossible->{DEBT_GUARANTEES}, undef, "Patron can check out item" ); manualinvoice( $guarantee->{borrowernumber}, undef, undef, 'L', 10.00 ); ( $issuingimpossible, $needsconfirmation ) = CanBookBeIssued( $patron, $item->{barcode} ); -is( $issuingimpossible->{DEBT_GUARANTEES}, '10.00', "Patron cannot check out item due to debt for guarantee" ); +is( $issuingimpossible->{DEBT_GUARANTEES} + 0, '10.00' + 0, "Patron cannot check out item due to debt for guarantee" ); $schema->storage->txn_rollback; -- 2.7.4