Koha-clms/t/db_dependent/Koha
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
..
Account Bug 23354: (RM follow-up) Reword remaining can_be_added_manually 2020-01-13 16:37:11 +00:00
Acquisition Bug 14711: Change prototype for AddReserve - pass a hashref 2020-02-11 14:32:47 +00:00
Biblio
…
BiblioUtils
…
Cash
…
Charges Bug 18936: (follow-up) Add missing circulation rule to fix tests 2020-02-04 09:56:28 +00:00
Checkouts Bug 24507: Make Checkouts/ReturnClaim.t pass on MySQL 8 2020-01-24 15:20:18 +00:00
Club Bug 24546: Fix intentions of build_sample_item in Club/Hold.t 2020-01-31 13:55:55 +00:00
Config
…
Filter
…
IssuingRules Bug 18936: Fix IssuingRules/guess_article_requestable_itemtypes.t 2020-02-04 09:56:29 +00:00
Item
…
Library
…
Objects/Mixin Bug 23994: Fix random failure from AdditionalFields.t (U18) 2019-11-08 09:31:47 +00:00
Patron Bug 24016: Add a failing test for overwrite-able manager_id in Koha::Patron::Message 2020-01-02 14:53:21 +00:00
Patrons Bug 17359: Use a unicode character in tests 2019-11-06 17:03:37 +00:00
Plugins Bug 22706: (RM follow-up) Add unit tests 2019-10-31 12:21:22 +00:00
REST Bug 24487: Add 2 more tests 2020-01-30 15:34:49 +00:00
SearchEngine Bug 23676: (RM follow-up) Test Correction 2020-01-13 09:28:39 +00:00
Subscription
…
Tags
…
Template/Plugin
…
Z3950Responder Bug 24022: Try to fix 'connect failed' 2019-11-13 13:19:48 +00:00
Account.t Bug 23443: Add tests 2020-01-24 12:57:38 +00:00
ActionLogs.t Bug 24329: Add a test 2020-01-08 11:05:00 +00:00
ApiKeys.t
…
Authorities.t
…
Biblio.t Bug 18936: (follow-up) Adjust circ rule related tests so that they pass 2020-02-04 09:56:29 +00:00
BiblioFrameworks.t
…
Biblios.t Bug 14711: Change prototype for AddReserve - pass a hashref 2020-02-11 14:32:47 +00:00
Checkouts.t
…
CirculationRules.t Bug 24602: Tests for get_onshlefholds_policy 2020-02-10 08:56:30 +00:00
Cities.t
…
ClassSortRules.t
…
ClassSources.t
…
ClassSplitRules.t
…
CsvProfiles.t
…
Database.t
…
GetDailyQuote.t
…
Holds.t Bug 14711: Change prototype for AddReserve - pass a hashref 2020-02-11 14:32:47 +00:00
IssuingRules.t Bug 18936: (follow-up) Add cloning of circulation rules back to Koha 2020-02-04 09:56:29 +00:00
Item.t Bug 18936: (follow-up) Adjust circ rule related tests so that they pass 2020-02-04 09:56:29 +00:00
ItemTypes.t Bug 24408: Do not compare floats with precision in tests 2020-01-13 13:42:45 +00:00
Items.t Bug 22284: (QA follow-up) Make pickup locations be Koha::Library objects 2020-01-03 12:58:06 +00:00
KeyboardShortcuts.t
…
Libraries.t Bug 18936: (QA follow-up) Fix failing test 2020-02-04 09:56:30 +00:00
MarcSubfieldStructures.t
…
News.t
…
Notices.t
…
Object.t Bug 24590: Fix Koha/Object.t on MySQL 8 2020-02-05 12:37:15 +00:00
Objects.t Bug 18936: Convert issuingrules fields to circulation_rules 2020-02-04 09:23:55 +00:00
Old.t Bug 24150: Prevent random failure comparing updated_on 2020-01-07 16:27:54 +00:00
Patron.t Bug 24459: Regression tests 2020-01-23 09:07:07 +00:00
Patrons.t Bug 14711: Change prototype for AddReserve - pass a hashref 2020-02-11 14:32:47 +00:00
Ratings.t
…
Reports.t
…
Reviews.t
…
SMS_Providers.t
…
SearchField.t
…
SharedContent.t Bug 23075: (RM follow-up) Update mock in tests 2019-11-07 07:56:17 +00:00
Statistics.t Bug 24149: Add tests 2020-01-23 10:40:24 +00:00
Subscription.t
…
Suggestion.t Bug 24419: Add Koha::Suggestion->suggester accessor 2020-01-20 16:37:22 +00:00
Suggestions.t
…
Tags.t
…
Z3950Servers.t
…