[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
Wed Dec 13 09:31:18 CET 2017
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16330
Benjamin Rokseth <benjamin.rokseth at kul.oslo.kommune.no> changed:
What |Removed |Added
----------------------------------------------------------------------------
Attachment #69752|0 |1
is obsolete| |
--- Comment #74 from Benjamin Rokseth <benjamin.rokseth at kul.oslo.kommune.no> ---
Created attachment 69768
-->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=69768&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>
Signed-off-by: Benjamin Rokseth <benjamin.rokseth at kul.oslo.kommune.no>
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list