Koha-clms/Koha/REST
Tomas Cohen Arazi e85290a703 Bug 27947: (QA follow-up) Make parameters a hashref
This patch makes the Koha::ArticleRequest->cancel parameters into a
hashref. (Missing) tests are added for those parameters being set as
well.

Calls to ->cancel are updated.

To test:
1. Apply this patch
2. Run:
   $ kshell
  k$ prove t/db_dependent/Koha/ArticleRequest.t \
           t/db_dependent/api/v1/article_requests.t
=> SUCCESS: Tests pass!
3. Sign off :-D

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-10-06 10:09:54 +02:00
..
Plugin Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00
V1 Bug 27947: (QA follow-up) Make parameters a hashref 2021-10-06 10:09:54 +02:00
V1.pm Bug 17600: Standardize our EXPORT_OK 2021-07-16 08:58:47 +02:00