Bugzilla – Attachment 51061 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]
[SIGNED-OFF] Bug 16405: Fix Circulation/NoIssuesChargeGuarantees.t test 2
SIGNED-OFF-Bug-16405-Fix-CirculationNoIssuesCharge.patch (text/plain), 1.45 KB, created by
Bernardo Gonzalez Kriegel
on 2016-04-30 16:02:42 UTC
(
hide
)
Description:
[SIGNED-OFF] Bug 16405: Fix Circulation/NoIssuesChargeGuarantees.t test 2
Filename:
MIME Type:
Creator:
Bernardo Gonzalez Kriegel
Created:
2016-04-30 16:02:42 UTC
Size:
1.45 KB
patch
obsolete
>From b4cdc32d68cf0a7443b6f3c2755f66a43f2aaa42 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] [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 <bgkriegel@gmail.com> >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
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