From b4cdc32d68cf0a7443b6f3c2755f66a43f2aaa42 Mon Sep 17 00:00:00 2001 From: Marcel de Rooy Date: Sat, 30 Apr 2016 14:59:10 +0200 Subject: [PATCH] [SIGNED-OFF] 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: Bernardo Gonzalez Kriegel Test pass, no errors. --- 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..df15062 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} == 10.00, 1, "Patron cannot check out item due to debt for guarantee" ); $schema->storage->txn_rollback; -- 1.9.1