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)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 29 Sep 2017 19:49:48 +0000 (16:49 -0300)
commit1e2e1247c9bcd15514dc395be891a9a3607e5ea5
tree3a66eba9bb5fa038d613784d0c7bb1fb1c6946ba
parent1c328f339455fa41a68c0d96015b37b5cb3b86c6
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>
t/db_dependent/Circulation/NoIssuesChargeGuarantees.t