Bug 19307: Mock the AllowFineOverride preference to ensure expected result
authorNick Clemens <nick@bywatersolutions.com>
Wed, 13 Sep 2017 12:06:50 +0000 (12:06 +0000)
committerFridolin Somers <fridolin.somers@biblibre.com>
Fri, 27 Oct 2017 12:16:03 +0000 (14:16 +0200)
commit86612541a45f6753b0ad87453a62fe8c9ba3047b
treebd1643d40891a85a1f76195b667dfcf22e000fe8
parent6e37d51cbc84b0c192b2892e9b72a1b50bc0e444
Bug 19307: Mock the AllowFineOverride preference to ensure expected result

To test:
 1 - Set 'AllowFineOverride' to allow
 2 - prove t/db_dependent/Circulation/NoIssuesChargeGuarantees.t
 3 - 1 test fails
 4 - Apply patch
 5 - prove t/db_dependent/Circulation/NoIssuesChargeGuarantees.t
 6 - All tests pass
 7 - Set 'AllowFineOverride' to 'Don't allow'
 8 - Tests should still pass

Signed-off-by: David Bourgault <david.bourgault@inlibro.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 1e2e1247c9bcd15514dc395be891a9a3607e5ea5)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
t/db_dependent/Circulation/NoIssuesChargeGuarantees.t