Bugzilla – Attachment 57153 Details for
Bug 17539
t/db_dependent/Reserves.t is failing
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17539: Fix failing Reserves.t tests if category enrolmentfee > 0
Bug-17539-Fix-failing-Reservest-tests-if-category-.patch (text/plain), 1.59 KB, created by
Marcel de Rooy
on 2016-11-04 08:04:05 UTC
(
hide
)
Description:
Bug 17539: Fix failing Reserves.t tests if category enrolmentfee > 0
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2016-11-04 08:04:05 UTC
Size:
1.59 KB
patch
obsolete
>From 9651a6c06e9a0b0e7ac2f89052ad2415279b9861 Mon Sep 17 00:00:00 2001 >From: Lari Taskula <lari.taskula@jns.fi> >Date: Wed, 2 Nov 2016 15:28:30 +0200 >Subject: [PATCH] Bug 17539: Fix failing Reserves.t tests if category > enrolmentfee > 0 >Content-Type: text/plain; charset=utf-8 > >To test: >1. Set patron category "S" with enrolmentfee 1 >2. perl t/db_dependent/Reserves.t >3. Observe following errors: > >not ok 59 - Bug 14464 - No fines at beginning >ok 60 - Bug 14464 - 1st reserve correctly created >ok 61 - Bug 14968 - Keep found column from reserve >not ok 62 - Bug 14464 - No fines after cancelling reserve with no charge configured >ok 63 - Bug 14464 - 2nd reserve correctly created >not ok 64 - Bug 14464 - No fines after cancelling reserve with no charge desired >ok 65 - Bug 14464 - 1st reserve correctly created >not ok 66 - Bug 14464 - Fine applied after cancelling reserve with charge desired and configured > >4. Apply patch >5. perl t/db_dependent/Reserves.t >6. Observe test pass > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > t/db_dependent/Reserves.t | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/t/db_dependent/Reserves.t b/t/db_dependent/Reserves.t >index 442c180..e19baa2 100755 >--- a/t/db_dependent/Reserves.t >+++ b/t/db_dependent/Reserves.t >@@ -101,6 +101,7 @@ my %data = ( > categorycode => 'S', > branchcode => 'CPL', > ); >+Koha::Patron::Categories->find('S')->set({ enrolmentfee => 0})->store; > my $borrowernumber = AddMember(%data); > my $borrower = GetMember( borrowernumber => $borrowernumber ); > my $biblionumber = $bibnum; >-- >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 17539
:
57094
|
57095
|
57096
|
57127
|
57128
|
57129
|
57134
|
57135
|
57136
|
57137
|
57151
|
57152
| 57153 |
57154
|
57155