[Koha-bugs] [Bug 17428] REST api: CRUD endpoint for cities

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 21 17:49:41 CEST 2016


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

--- Comment #29 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Final followup, I was wrong in my last comment.. Swagger Validator is in fact
doing the right thing it's just that we can't easily test against it. 

We are given an array or validation errors. Those errors are in the order in
which the hash structure is validated.. so due to Perl randomisation the error
order varies and thus we cannot easily test the actual error message when there
is more than one.

I have amended the test to simply check for the presence of the /errors key
which should suffice.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list