[Koha-bugs] [Bug 16330] REST API: add routes to add, update and delete patrons
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Tue Dec 12 22:56:14 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16330
--- Comment #67 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 69752
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=69752&action=edit
Bug 16330: (QA follow-up) ModMember requires borrowernumber
This patch fixes the tests so they highlight the fact that:
- PUT only worked on the tests because borrowernumber was passed on them
- ModMember expects borrowernumber on the hash it gets passed.
It also fixes the issue.
To test:
- Apply this patch
- Run:
$ kshell
k$ prove t/db_dependent/api/v1/patrons.t
=> SUCCESS: Tests pass
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