Koha/t/db_dependent/Circulation
Jonathan Druart 11b44869d9
Bug 14711: Change prototype for AddReserve - pass a hashref
The number of parameters of AddReserve makes it hard to read and
maintain.
This patch replace it with a hashref, which will make the calls more
readable.

Moreover the bibitems has been removed as it was not used by the
subroutine.

Test plan:
- Make sure the tests pass
- Read the diff and search for typos
- Place a hold on few items

Note for QA: reservation_date and expiration_date do not match the DB column's names,
should we?

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-02-11 14:32:47 +00:00
..
IssuingRules Bug 18936: Fix some more tests 2020-02-04 09:56:27 +00:00
Branch.t Bug 18936: (follow-up) Add foreign key and scope enhancement to circ rules 2020-02-04 09:56:24 +00:00
CalcDateDue.t Bug 18936: Fix some more tests 2020-02-04 09:56:27 +00:00
CalcFine.t Bug 18936: More fixes 2020-02-04 09:56:26 +00:00
CheckIfIssuedToPatron.t
CheckValidBarcode.t
dateexpiry.t
GetHardDueDate.t Bug 18936: Replace an other insert into issuingrules 2020-02-04 09:56:26 +00:00
GetPendingOnSiteCheckouts.t
GetTopIssues.t Bug 22721: Remove frameworkcode parameter in GetMarcFromKohaField calls 2019-07-15 11:28:08 +01:00
IsItemIssued.t
issue.t Bug 14711: Change prototype for AddReserve - pass a hashref 2020-02-11 14:32:47 +00:00
MarkIssueReturned.t Bug 23038: Remove unused stderr vars 2019-10-15 14:14:13 +01:00
NoIssuesChargeGuarantees.t Bug 24408: Do not compare floats with precision in tests 2020-01-13 13:42:45 +00:00
OfflineOperation.t
ReturnClaims.t Bug 18936: Fix some more tests 2020-02-04 09:56:27 +00:00
Returns.t Bug 18936: (follow-up) Add foreign key and scope enhancement to circ rules 2020-02-04 09:56:24 +00:00
StoreLastBorrower.t Bug 14591: Update unit tests 2019-03-15 12:14:03 +00:00
SwitchOnSiteCheckouts.t Bug 18936: (follow-up) Add foreign key and scope enhancement to circ rules 2020-02-04 09:56:24 +00:00
TooMany.t Bug 18936: More fixes 2020-02-04 09:56:26 +00:00
transferbook.t Bug 24013: Add tests 2019-11-25 08:38:02 +00:00
transfers.t Bug 23129: Unit test 2019-10-15 14:12:49 +01:00