Koha-clms/t/db_dependent/Circulation
Nick Clemens d2aaa2fbc8 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 1e2e1247c9)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
(cherry picked from commit 86612541a4)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Conflicts:
	t/db_dependent/Circulation/NoIssuesChargeGuarantees.t
2017-11-23 01:43:58 +13:00
..
IssuingRules Bug 17592: Remove itemtype-related maxsuspensiondays.t warnings 2016-12-12 14:54:09 +13:00
AnonymiseIssueHistory.t Bug 16155: Adjust a few other tests 2016-05-04 13:47:58 +00:00
Branch.t Bug 16404: Fix Circulation/Branch.t (tests 8-11) 2016-05-03 15:21:31 +00:00
CalcDateDue.t Bug 12787: (QA followup) small QA fixes 2016-04-22 00:54:35 +00:00
CalcFine.t Bug 16155: Adjust a few other tests 2016-05-04 13:47:58 +00:00
CheckIfIssuedToPatron.t Bug 17653: Remove itemtype-related t/db_dependent/Circulation* warnings 2016-12-12 14:54:13 +13:00
CheckValidBarcode.t Bug 15629: Koha::Libraries - Remove ModBranch 2016-02-24 03:55:06 +00:00
GetHardDueDate.t Bug 12787: Reorganise t/db_dependent files 2016-04-22 00:54:35 +00:00
GetIssues.t Bug 17636: Remove itemtype-related GetIssues.t warnings 2016-12-12 14:54:12 +13:00
GetTopIssues.t Bug 11998: Use t::lib::Mocks::mock_preference in tests 2016-03-15 07:08:28 +00:00
IsItemIssued.t Bug 17653: Remove itemtype-related t/db_dependent/Circulation* warnings 2016-12-12 14:54:13 +13:00
MarkIssueReturned.t Bug 17430: Make MarkIssueReturned.t create its own data 2016-10-22 14:57:56 +02:00
NoIssuesChargeGuarantees.t Bug 19307: Mock the AllowFineOverride preference to ensure expected result 2017-11-23 01:43:58 +13:00
OfflineOperation.t Bug 12787: Reorganise t/db_dependent files 2016-04-22 00:54:35 +00:00
Returns.t Bug 18966: Do not deal with duplicate issue_id on checkin 2017-07-25 11:51:43 +12:00
TooMany.t Bug 8361: Do not allow checkouts if no rules are defined 2017-02-22 21:57:36 +13:00
dateexpiry.t Bug 12787: Reorganise t/db_dependent files 2016-04-22 00:54:35 +00:00
issue.t Bug 19071: Fix Circulation/issue.t 2017-10-24 16:42:06 +13:00
transfers.t Bug 17653: Remove itemtype-related t/db_dependent/Circulation* warnings 2016-12-12 14:54:13 +13:00