https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24680
--- Comment #5 from Ere Maijala <[email protected]> --- Test plan for suspension endpoint: 1. Create a hold and take note of its id 2. Without the patch, do a POST request to /api/v1/holds/{id}/suspension with no body 3. Take note that it returns the current date as end_date. Check in the database that reserves.suspend_until is actually null. 4. Apply the patch and do the POST request again. 5. Verify that the response now contains null as end_date. 6. Make another POST request to /api/v1/holds/{id}/suspension with the following JSON body (use tomorrow as the date): { "end_date": "2020-xx-yy" } 7. Verify that the response reflects the given date. Verify that the database also has the given date in reserves.suspend_until field. -- You are receiving this mail because: You are watching all bug changes. _______________________________________________ Koha-bugs mailing list [email protected] https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs website : http://www.koha-community.org/ git : http://git.koha-community.org/ bugs : http://bugs.koha-community.org/
