Koha-clms/t/db_dependent/api/v1
Matt Blenkinsop f42741d32c
Bug 35757: Fix unit tests for external counter registry API
This patch updates the unit tests for the external counter registry API used in the Usage Statistics module. The intent of the tests is to identify any changes in the external response that could lead to errors in Koha. To do this, the tests now compare the list of hash keys returned in the response with the current definition in Koha, and identifies any new fields that need to be added to the definition.

Test plan:
prove t/db_dependent/api/v1/erm_counter_registries.t
prove t/db_dependent/api/v1/erm_sushi_services.t

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-01-11 12:10:44 +01:00
..
acquisitions_baskets.t Bug 29523: Remove the FIXME 2023-10-27 16:40:45 -03:00
acquisitions_funds.t Bug 29523: Remove the FIXME 2023-10-27 16:40:45 -03:00
acquisitions_orders.t
…
acquisitions_vendor_issues.t
…
acquisitions_vendors.t
…
advanced_editor_macros.t
…
article_requests.t
…
auth.t
…
auth_authenticate_api_request.t
…
auth_basic.t
…
authorised_values.t
…
authorities.t
…
biblios.t Bug 35574: Tidy 2023-12-18 15:21:06 +01:00
bookings.t Bug 35468: (follow-up) Fix for older DateTimes 2023-12-18 15:20:54 +01:00
cashups.t
…
checkouts.t Bug 34287: Add check on public availability endpoint 2023-11-24 16:43:22 -03:00
cities.t
…
clubs_holds.t
…
erm_agreements.t
…
erm_counter_files.t Bug 34587: (QA follow-up): squash 2023-10-31 16:46:30 -03:00
erm_counter_registries.t Bug 35757: Fix unit tests for external counter registry API 2024-01-11 12:10:44 +01:00
erm_custom_reports.t Bug 34587: (QA follow-up) Tidy 2023-10-31 16:46:32 -03:00
erm_documents.t
…
erm_eholdings_packages.t
…
erm_eholdings_resources.t
…
erm_eholdings_titles.t Bug 35115: (QA follow-up): 2023-11-29 17:36:10 -03:00
erm_licenses.t
…
erm_sushi_services.t Bug 35757: Fix unit tests for external counter registry API 2024-01-11 12:10:44 +01:00
erm_usage_data_providers.t Bug 34587: Fix license issues 2023-11-01 09:26:11 -03:00
erm_usage_titles.t Bug 34587: Fix license issues 2023-11-01 09:26:11 -03:00
erm_users.t Bug 12133: Fix failing tests 2023-11-14 10:32:36 -03:00
holds.t Bug 8367: (QA follow-up) Fix broken tests 2023-11-02 10:22:40 -03:00
idp.t
…
ill_backends.t
…
ill_batches.t Bug 30719: (QA follow-up) Pick better column names and cleanup 2023-10-17 14:45:23 -03:00
ill_batchstatuses.t Bug 30719: (QA follow-up) Rename illbatchstatuses 2023-10-17 14:45:22 -03:00
ill_requests.t Bug 29523: Fix tests 2023-10-28 09:47:38 -03:00
import_batch_profiles.t
…
import_record_matches.t
…
item_groups.t
…
item_types.t Bug 34008: Harmonize attribute names 2023-11-01 17:23:15 -03:00
items.t Bug 35167: Regression tests 2023-10-27 16:44:05 -03:00
jobs.t
…
libraries.t
…
oauth.t
…
pagination.t
…
password_validation.t Bug 35204: Add unit tests 2023-12-18 15:21:07 +01:00
patrons.t Bug 26170: API behavior change tests 2023-11-01 17:23:08 -03:00
patrons_accounts.t
…
patrons_extended_attributes.t
…
patrons_holds.t
…
patrons_password.t
…
patrons_password_expiration.t
…
preservation_Processings.t Bug 30708: Tidy perl files 2023-10-18 15:42:04 -03:00
preservation_Trains.t Bug 30708: Tidy perl files 2023-10-18 15:42:04 -03:00
preservation_WaitingList.t Bug 30708: Tidy perl files 2023-10-18 15:42:04 -03:00
query.t
…
return_claims.t Bug 32496: Reduce unnecessary unblessings of objects in Circulation.pm 2023-09-22 10:52:39 -03:00
search_filters.t
…
smtp_servers.t
…
stockrotationstage.t
…
suggestions.t Bug 32942: (QA follow-up) Fix regression test 2023-09-18 15:31:46 -03:00
ticket_updates.t
…
tickets.t
…
transfer_limits.t
…
two_factor_auth.t
…
unhandled_exceptions.t
…