[Koha-bugs] [Bug 28369] additionalProperties missing in holds routes

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue May 18 17:43:38 CEST 2021


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

--- Comment #7 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 121119
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=121119&action=edit
Bug 28369: (QA follow-up) Restore PUT with deprecation message

This patch restores the PUT route, but adding a deprecation message. The
controller method is the same, and relevant patch tests are duplicated
but calling PUT, so it still gets tested.

To test:
1. Apply this patch
2. Reload plack
3. Open https://<>/api/v1/.html and find the PUT /holds/{hold_id} route
=> SUCCESS: There's a deprecation wargning!
4. Run:
   $ kshell
  k$ prove t/db_dependent/api/v1/holds.t
=> SUCCESS: Tests pass!
5. 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