[Koha-bugs] [Bug 16330] Add routes to add, update and delete patrons
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Thu Feb 8 04:01:19 CET 2018
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16330
--- Comment #86 from Bob Birchall <bob at calyx.net.au> ---
(In reply to Tomás Cohen Arazi from comment #85)
> Created attachment 70038 [details] [review]
> Bug 16330: Remove validation code from Koha::Patron
>
> This patch removes previously added validation code from Koha::Patron
> as we will rely on the DB structure and relationships to catch the same
> problems. This is implemented on bug 19828.
>
> This patch also adapts the API controller class to expect this behaviour
> change from Koha::Patron. The expected exceptions are adjusted, and some
> minor changes take place. The API tests are adjusted as well.
>
> To test:
> - Run:
> $ kshell
> k$ prove t/db_dependent/Koha/Patrons.t
> k$ prove t/db_dependent/api/v1/patrons.t
> => SUCCESS: Tests should still pass
>
> Signed-off-by: Tomas Cohen Arazi <tomascohen at theke.io>
Is this waiting for extra sign-offs or is it ready for QA? If we (ie Dilan) can
help, please let us know.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list