Koha-clms/t/db_dependent/Circulation
Jonathan Druart 11dfb2e0b2 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>
2017-01-20 13:41:59 +00: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
…
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
…
CalcFine.t
…
CheckIfIssuedToPatron.t Bug 17653: Remove itemtype-related t/db_dependent/Circulation* warnings 2016-11-18 14:02:49 +00:00
CheckValidBarcode.t
…
GetHardDueDate.t Bug 17599: Move C4::Circulation::GetIssuingRule to Koha::IssuingRules->get_effective_issuing_rule 2016-11-15 15:41:43 +00:00
GetPendingOnSiteCheckouts.t Bug 17678: C4::Circulation - Replace GetIssues with Koha::Issues 2016-12-23 11:46:20 +00:00
GetTopIssues.t
…
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
…
Returns.t Bug 17633: (QA followup) Remove unneeded warnings 2016-11-16 15:31:01 +00:00
SwitchOnSiteCheckouts.t
…
TooMany.t Bug 8361: Do not allow checkouts if no rules are defined 2017-01-20 13:41:59 +00:00
dateexpiry.t
…
issue.t Bug 17679: C4::Circulation - Remove unused GetItemIssues 2016-12-28 13:52:24 +00:00
transfers.t Bug 14187: branchtransfer needs a primary key (id) for DBIx and common sense. 2017-01-13 12:20:11 +00:00