]> git.koha-community.org Git - koha.git/commit
Bug 17539: Fix failing Reserves.t tests if category enrolmentfee > 0
authorLari Taskula <lari.taskula@jns.fi>
Wed, 2 Nov 2016 13:28:30 +0000 (15:28 +0200)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 4 Nov 2016 11:13:04 +0000 (11:13 +0000)
commit246bca4a67b2ca177d4defb39284a3ede2a0703a
treeac4d685a1f52c8e5858504e98ec1d262909560c2
parentc414e7608956ca04648aed1a15b79c5cd281fb3c
Bug 17539: Fix failing Reserves.t tests if category enrolmentfee > 0

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>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
t/db_dependent/Reserves.t