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

--- Comment #9 from Tomás Cohen Arazi (tcohen) <[email protected]> ---
(In reply to Jonathan Druart from comment #8)
> (In reply to Tomás Cohen Arazi (tcohen) from comment #6)
> > 
> > Well, we have a long time voted coding guideline
> > 
> > https://wiki.koha-community.org/wiki/Coding_Guidelines_-_API#REST3.4.1_POST
> 
> Yes, and it's not enough. Here is a test to enforce it, we have 3 failures.

I know about them. Answering inline:

>     #   Failed test 'Koha/REST/V1/Auth/Password.pm does not contain the
> location header'
>     #   at xt/api.t line 186.

I'm not sure what location it should return. Maybe the same was used for the
request.

>     #   Failed test 'Koha/REST/V1/Patrons/Account.pm does not contain the
> location header'
>     #   at xt/api.t line 186.

This is certainly handled by bug 38932.

>     #   Failed test 'Koha/REST/V1/Preservation/WaitingList.pm does not
> contain the location header'
>     #   at xt/api.t line 186.
>     # Looks like you failed 3 tests of 55.

A complex one. The POST receives a list of items. I'm also not sure on this
one. Ideas?

-- 
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/

Reply via email to