Koha-clms/t/db_dependent/Circulation
Jonathan Druart 32c8bf4a3d Bug 8361: Do not allow checkouts if no rules are defined
We should require a circulation rule to allow checkouts and reject them
if no rules are defined.

Test plan:
- Delete all issuing rules
- Check an item out
=> Without this patch the checkout is allowed
=> With this patch applied it is rejected

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit 11dfb2e0b2)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
2017-02-07 07:49:13 +01:00
..
IssuingRules Bug 17599: Move C4::Circulation::GetIssuingRule to Koha::IssuingRules->get_effective_issuing_rule 2016-11-15 15:41:43 +00:00
AnonymiseIssueHistory.t Bug 16155: Adjust a few other tests 2016-05-04 13:47:58 +00:00
Branch.t Bug 17599: Move C4::Circulation::GetIssuingRule to Koha::IssuingRules->get_effective_issuing_rule 2016-11-15 15:41:43 +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-11-18 14:02:49 +00:00
CheckValidBarcode.t Bug 15629: Koha::Libraries - Remove ModBranch 2016-02-24 03:55:06 +00:00
GetHardDueDate.t Bug 17599: Move C4::Circulation::GetIssuingRule to Koha::IssuingRules->get_effective_issuing_rule 2016-11-15 15:41:43 +00:00
GetIssues.t Bug 17636: Remove itemtype-related GetIssues.t warnings 2016-11-17 16:24:04 +00: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-11-18 14:02:49 +00:00
MarkIssueReturned.t Bug 17430: Make MarkIssueReturned.t create its own data 2016-10-17 22:55:37 +00:00
NoIssuesChargeGuarantees.t Bug 17633: Do not call set_preference from tests 2016-11-16 15:31:01 +00:00
OfflineOperation.t Bug 12787: Reorganise t/db_dependent files 2016-04-22 00:54:35 +00:00
Returns.t Bug 17633: (QA followup) Remove unneeded warnings 2016-11-16 15:31:01 +00:00
SwitchOnSiteCheckouts.t Bug 15758: (QA followup) Remove leftover reference to C4::Branch 2016-09-09 14:46:22 +00:00
TooMany.t Bug 8361: Do not allow checkouts if no rules are defined 2017-02-07 07:49:13 +01:00
dateexpiry.t Bug 12787: Reorganise t/db_dependent files 2016-04-22 00:54:35 +00:00
issue.t Bug 17781 - Improper branchcode set during renewal 2017-01-04 21:56:30 +01:00
transfers.t Bug 17653: Remove itemtype-related t/db_dependent/Circulation* warnings 2016-11-18 14:02:49 +00:00