Koha/t/db_dependent/api/v1
Tomas Cohen Arazi a3aaf10e59 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@theke.io>
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-05-06 10:33:10 -10:00
..
acquisitions_baskets.t Bug 30596: Prevent api/v1/acquisitions_baskets.t and api/v1/acquisitions_funds.t to fail randomly 2022-04-25 20:52:28 -10:00
acquisitions_funds.t Bug 30596: Prevent api/v1/acquisitions_baskets.t and api/v1/acquisitions_funds.t to fail randomly 2022-04-25 20:52:28 -10:00
acquisitions_orders.t Bug 29810: Add 'x-koha-embed' to reserved words 2022-04-12 11:40:16 +02:00
acquisitions_vendors.t
advanced_editor_macros.t
article_requests.t
auth.t
auth_authenticate_api_request.t
auth_basic.t Bug 29924: Add tests for API Basic auth behavior 2022-05-06 10:33:09 -10:00
biblios.t Bug 30194: (follow-up) Remove invalid tests 2022-03-29 16:44:31 +02:00
cashups.t
checkouts.t
cities.t
clubs_holds.t
holds.t Bug 29877: Regression tests 2022-03-03 16:11:50 -10:00
illrequests.t
import_batch_profiles.t
import_record_matches.t Bug 22785: Allow option to choose which record match is applied during import 2022-05-03 11:19:50 -10:00
items.t Bug 30133: Regression tests 2022-02-24 14:35:36 -10:00
libraries.t
oauth.t
pagination.t Bug 30125: (QA follow-up) Rename variable as cities 2022-03-03 16:11:49 -10:00
patrons.t Bug 29924: (QA follow-up) Remove password_expiration_date from API 2022-05-06 10:33:09 -10:00
patrons_accounts.t
patrons_extended_attributes.t
patrons_holds.t
patrons_password.t
patrons_password_expiration.t Bug 29926: (QA follow-up) Date format missing in spec 2022-05-06 10:33:10 -10:00
query.t Bug 30536: Unit tests 2022-05-03 11:19:51 -10:00
return_claims.t
smtp_servers.t
stockrotationstage.t
suggestions.t Bug 30663: Add x-koha-override options to /suggestions 2022-05-05 10:26:41 -03:00
transfer_limits.t Bug 29857: (follow-up) Fix t/db_dependent/api/v1/transfer_limits.t 2022-03-02 09:40:05 -10:00
unhandled_exceptions.t Bug 29857: Rename base class as Koha::Exception 2022-03-01 22:47:47 -10:00