Koha/t/db_dependent/api/v1
Tomas Cohen Arazi 9374824bc5 Bug 30663: Add x-koha-override options to /suggestions
This patch adds the x-koha-override header parameter to the route that
is used to create suggestions, POST /suggestions.

The idea is that adding suggestions will be rejected under certain
conditions unless x-koha-override is passed with appropriate values. The
added overrides are:

* any
* max_total
* max_pending

Tests are added for the expected behavior.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2022-05-05 10:26:41 -03: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
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
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
libraries.t
oauth.t
pagination.t
patrons.t Bug 22993: Unit tests 2022-03-08 23:03:34 -10:00
patrons_accounts.t
patrons_extended_attributes.t
patrons_holds.t
patrons_password.t
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
unhandled_exceptions.t