Bugzilla – Attachment 51076 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]
[ALTERNATIVE-PATCH] Bug 16405: Fix Circulation/NoIssuesChargeGuarantees.t test 2
Bug-16405-Fix-CirculationNoIssuesChargeGuaranteest.patch (text/plain), 1.37 KB, created by
Jonathan Druart
on 2016-05-02 09:41:20 UTC
(
hide
)
Description:
[ALTERNATIVE-PATCH] Bug 16405: Fix Circulation/NoIssuesChargeGuarantees.t test 2
Filename:
MIME Type:
Creator:
Jonathan Druart
Created:
2016-05-02 09:41:20 UTC
Size:
1.37 KB
patch
obsolete
>From 41080a0382590b2715e45e4dc38741a2a4a29c7f Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >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. >--- > 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.0
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