Koha-clms/t/db_dependent/api/v1
Jonathan Druart 46c7a66a6d
Bug 40490: Remove warnings from GD::Barcode::QRcode - U24
01:18:38 koha_1       | #   Failed test 'no warnings'
01:18:38 koha_1       | #   at /usr/share/perl/5.38/Test/Builder.pm line 193.
01:18:38 koha_1       | # There were 6 warning(s)
01:18:38 koha_1       | #     Previous test 4 '401 Unauthorized'
01:18:38 koha_1       | #     Use of uninitialized value $aMask[1079] in bitwise xor (^) at /usr/share/perl5/GD/Barcode/QRcode.pm line 217.
01:18:38 koha_1       | #  at /usr/share/perl5/GD/Barcode/QRcode.pm line 217.

jammy (22.04LTS) (perl): 1.15-7
noble (24.04LTS) (perl): 2.00-1

I guess it's fixed by
85e7911e65

But it is not released yet: version 2 is from September 2023 and commit from March 2024.

Test plan:
Install version 2 of GD::Barcode:
  `cpanm GD::Barcode@2.0.0`
Run the tests
Without this patch the "no warnings" test fails
With this patch applied the tests pass

Signed-off-by: David Cook <dcook@prosentient.com.au>

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit fd6ceb6b24)
Signed-off-by: Paul Derscheid <paul.derscheid@lmscloud.de>
(cherry picked from commit ddf1b9dfe3)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2025-09-17 16:40:11 +02:00
..
items Bug 38929: (follow-up) Replace SWAGGER -> REST in the tests 2025-04-22 23:02:23 +02:00
public Bug 28965: Unit tests 2024-11-08 16:09:23 +01:00
acquisitions_baskets.t Bug 38204: Tidy 2024-10-30 07:47:42 +01:00
acquisitions_funds.t
…
acquisitions_orders.t Bug 38929: (follow-up) Replace SWAGGER -> REST in the tests 2025-04-22 23:02:23 +02:00
acquisitions_vendor_issues.t
…
acquisitions_vendors.t Bug 38929: (follow-up) Replace SWAGGER -> REST in the tests 2025-04-22 23:02:23 +02:00
advanced_editor_macros.t Bug 38929: (follow-up) Replace SWAGGER -> REST in the tests 2025-04-22 23:02:23 +02:00
article_requests.t Bug 38929: (follow-up) Replace SWAGGER -> REST in the tests 2025-04-22 23:02:23 +02:00
auth.t
…
auth_authenticate_api_request.t
…
auth_basic.t
…
authorised_values.t Bug 37289: Add sorting to test 2024-07-11 13:40:49 +02:00
authorities.t Bug 38929: (follow-up) Replace SWAGGER -> REST in the tests 2025-04-22 23:02:23 +02:00
biblios.t Bug 35246: Unit tests 2025-08-06 13:25:36 +00:00
bookings.t Bug 38929: (follow-up) Replace SWAGGER -> REST in the tests 2025-04-22 23:02:23 +02:00
cashups.t
…
checkouts.t Bug 28907: REST - Remove allow-owner from public checkouts route 2025-02-18 19:17:17 +01:00
circulation_rules.t Bug 36641: (follow-up) Ensure limited return works 2024-07-18 18:25:49 +02:00
cities.t Bug 38929: (follow-up) Replace SWAGGER -> REST in the tests 2025-04-22 23:02:23 +02:00
clubs_holds.t Bug 38929: Regression tests 2025-04-22 23:02:21 +02:00
deleted_biblios.t Bug 38678: Regression tests 2025-02-04 21:40:48 +01:00
edifact_files.t
…
erm_agreements.t Bug 38929: (follow-up) Replace SWAGGER -> REST in the tests 2025-04-22 23:02:23 +02:00
erm_counter_files.t Bug 38929: (follow-up) Replace SWAGGER -> REST in the tests 2025-04-22 23:02:23 +02:00
erm_counter_logs.t Bug 36627: Fix typo "embeded" 2025-03-19 23:57:21 +01:00
erm_counter_registries.t Bug 37898: Wrap some ERM api tests inside a transaction 2024-09-19 12:50:20 +01:00
erm_custom_reports.t Bug 38782: mock_userenv in API tests 2025-03-19 23:57:36 +01:00
erm_documents.t
…
erm_eholdings_packages.t Bug 38929: (follow-up) Replace SWAGGER -> REST in the tests 2025-04-22 23:02:23 +02:00
erm_eholdings_resources.t
…
erm_eholdings_titles.t Bug 38929: (follow-up) Replace SWAGGER -> REST in the tests 2025-04-22 23:02:23 +02:00
erm_licenses.t Bug 38929: (follow-up) Replace SWAGGER -> REST in the tests 2025-04-22 23:02:23 +02:00
erm_sushi_services.t Bug 39007: Update API spec and unit test 2025-03-19 23:57:55 +01:00
erm_usage_data_providers.t Bug 38929: (follow-up) Replace SWAGGER -> REST in the tests 2025-04-22 23:02:23 +02:00
erm_usage_titles.t
…
erm_users.t Bug 38322: (QA follow-up) Fix spelling 2024-11-13 17:00:51 +01:00
extended_attribute_types.t Bug 37262: Tests for filtering unmapped tablename 2024-07-12 10:21:22 +02:00
holds.t Bug 40372: Remove warning from api/v1/holds.t 2025-08-01 15:35:37 +02:00
idp.t
…
ill_backends.t
…
ill_batches.t
…
ill_batchstatuses.t Bug 38929: Regression tests 2025-04-22 23:02:21 +02:00
ill_requests.t
…
import_batch_profiles.t Bug 38929: Regression tests 2025-04-22 23:02:21 +02:00
import_record_matches.t
…
item_groups.t Bug 38929: (follow-up) Replace SWAGGER -> REST in the tests 2025-04-22 23:02:23 +02:00
item_types.t
…
items.t Bug 38929: (follow-up) Replace SWAGGER -> REST in the tests 2025-04-22 23:02:23 +02:00
jobs.t
…
libraries.t Bug 38929: (follow-up) Replace SWAGGER -> REST in the tests 2025-04-22 23:02:23 +02:00
oauth.t
…
pagination.t
…
password_validation.t Bug 36575: (QA follow-up) 2024-06-20 17:55:32 +02:00
patron_categories.t Bug 36453: (QA follow-up) Update api spec 2024-06-11 10:43:54 +01:00
patrons.t Bug 38929: (follow-up) Replace SWAGGER -> REST in the tests 2025-04-22 23:02:23 +02:00
patrons_accounts.t Bug 38932: Regression tests 2025-04-22 23:02:25 +02:00
patrons_checkouts.t
…
patrons_extended_attributes.t Bug 38929: (follow-up) Replace SWAGGER -> REST in the tests 2025-04-22 23:02:23 +02:00
patrons_holds.t Bug 39710: Unit test 2025-05-23 12:18:30 +02:00
patrons_password.t Bug 28097: REST - Remove allow-owner from public password route 2025-02-18 19:17:17 +01:00
patrons_password_expiration.t
…
patrons_recalls.t Bug 38929: (follow-up) Replace SWAGGER -> REST in the tests 2025-04-22 23:02:23 +02:00
preservation_Processings.t Bug 38929: (follow-up) Replace SWAGGER -> REST in the tests 2025-04-22 23:02:23 +02:00
preservation_Trains.t Bug 38929: (follow-up) Replace SWAGGER -> REST in the tests 2025-04-22 23:02:23 +02:00
preservation_WaitingList.t
…
provider.t Bug 37157: Fix Malformed UTF-8 character in JSON string before decode_json 2024-06-27 11:50:06 +02:00
query.t Bug 37018: Add 400 response definition to all routes 2024-08-01 17:26:44 +02:00
record_sources.t Bug 38929: (follow-up) Replace SWAGGER -> REST in the tests 2025-04-22 23:02:23 +02:00
responses.t Bug 36641: Fix tests 2024-07-18 18:25:50 +02:00
return_claims.t Bug 38929: (follow-up) Replace SWAGGER -> REST in the tests 2025-04-22 23:02:23 +02:00
search_filters.t Bug 38929: (follow-up) Replace SWAGGER -> REST in the tests 2025-04-22 23:02:23 +02:00
smtp_servers.t Bug 38929: (follow-up) Replace SWAGGER -> REST in the tests 2025-04-22 23:02:23 +02:00
stockrotation_rotas.t Bug 38929: (follow-up) Replace SWAGGER -> REST in the tests 2025-04-22 23:02:23 +02:00
stockrotationstage.t Bug 37686: Fix render_resource_not_found() and render_resource_deleted() misses 2024-08-29 18:16:19 +02:00
suggestions.t Bug 38929: (follow-up) Replace SWAGGER -> REST in the tests 2025-04-22 23:02:23 +02:00
ticket_updates.t Bug 38929: (follow-up) Replace SWAGGER -> REST in the tests 2025-04-22 23:02:23 +02:00
tickets.t Bug 38929: (follow-up) Replace SWAGGER -> REST in the tests 2025-04-22 23:02:23 +02:00
transfer_limits.t Bug 38929: Regression tests 2025-04-22 23:02:21 +02:00
two_factor_auth.t Bug 40490: Remove warnings from GD::Barcode::QRcode - U24 2025-09-17 16:40:11 +02:00
unhandled_exceptions.t
…