Bugzilla – Attachment 51053 Details for
Bug 16405
Fix Circulation/NoIssuesChargeGuarantees.t test 2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16405: Fix Circulation/NoIssuesChargeGuarantees.t test 2
Bug-16405-Fix-CirculationNoIssuesChargeGuaranteest.patch (text/plain), 1.40 KB, created by
Marcel de Rooy
on 2016-04-30 13:04:02 UTC
(
hide
)
Description:
Bug 16405: Fix Circulation/NoIssuesChargeGuarantees.t test 2
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2016-04-30 13:04:02 UTC
Size:
1.40 KB
patch
obsolete
>From 74ca517dc596ca60b6c942c3c7c91fbd438e391a Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Sat, 30 Apr 2016 14:59:10 +0200 >Subject: [PATCH] Bug 16405: Fix Circulation/NoIssuesChargeGuarantees.t test 2 >Content-Type: text/plain; charset=utf-8 > >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. >--- > 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.7.10.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 16405
:
51053
|
51061
|
51076
|
51079
|
51113