[Koha-bugs] [Bug 27947] Add default cancellation reasons to article requests

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Oct 5 16:16:48 CEST 2021


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27947

--- Comment #66 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 125739
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=125739&action=edit
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 at theke.io>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list