[Koha-bugs] [Bug 29926] Add ability for superlibrarians to edit password expiration dates

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Apr 26 15:14:15 CEST 2022


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

--- Comment #15 from Tomás Cohen Arazi <tomascohen at gmail.com> ---
Created attachment 133891
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=133891&action=edit
Bug 29926: (QA follow-up) Date format missing in spec

On fixing the spec to have `format: date` I noticed the tests were
expecting explosions because of date handling not being done. The
OpenAPI plugin does this correctly when you set the format right.

So, I adapted the tests so they expect 400 and return the type error.

We don't usually add such tests (i.e. test the plugin does its job
correctly) but it doesn't hurt to keep them just in case something
really changes badly there (plugin bug?).

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