Koha-clms/t/db_dependent/Circulation
Jonathan Druart 546379cc92 Bug 17680: C4::Circulation - Remove GetItemIssue, simple calls
C4::Circulation::GetItemIssue returned all the issue and item
informations for a given issue. Moveover it also did some date
manipulations. Most of the time this subroutine was called, there
additional information were useless as the caller usually just needed
the basic issue's infos 'from the issue table).

This first patch updates the simple calls, ie. the ones that just need
the issue's infomations.

Test plan:
The following operations should success:
- transfer a book
- create a rule for on-site checkouts and confirm that a patron cannot
check more items out that it's defined in the rule.
- Renew an issue using ILSDI
- Using SIP confirm that you are able to see your issues

Followed test plan, works as expected
Signed-off-by: Marc Véron <veron@veron.ch>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2017-07-10 12:06:37 -03:00
..
IssuingRules Bug 18420: Do not use 'S' as patron category code in other tests 2017-04-21 10:49:25 -04: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 18226 - Remove "use Test::DBIx::Class" instantiations' dangerous code duplication. Replace mock_dbh 2 2017-06-05 17:52:47 -03: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 16344: Fix test in GetHardDueDate.t 2017-05-24 12:29:43 -03:00
GetPendingOnSiteCheckouts.t Bug 17678: C4::Circulation - Replace GetIssues with Koha::Issues 2016-12-23 11:46:20 +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 18420: Do not use 'S' as patron category code in other tests 2017-04-21 10:49:25 -04: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 18651: Fix tests if no circ rule exist 2017-06-21 11:08:36 -03:00
StoreLastBorrower.t Bug 16966: Koha::Patrons - Move AnonymiseIssueHistory tests 2017-03-03 17:20:02 +00:00
SwitchOnSiteCheckouts.t Bug 17680: C4::Circulation - Remove GetItemIssue, simple calls 2017-07-10 12:06:37 -03:00
TooMany.t Bug 8361: Do not allow checkouts if no rules are defined 2017-01-20 13:41:59 +00:00
dateexpiry.t Bug 12787: Reorganise t/db_dependent files 2016-04-22 00:54:35 +00:00
issue.t Bug 17680: C4::Circulation - Remove GetItemIssue, simple calls 2017-07-10 12:06:37 -03:00
transfers.t Bug 14187: branchtransfer needs a primary key (id) for DBIx and common sense. 2017-01-13 12:20:11 +00:00