Koha-clms/t/db_dependent/api/v1
Jonathan Druart eb2fbe6dd6 Bug 28670: Prevent api/v1/patrons_holds.t to fail randomly
12:01:12 koha_1       |     #   Failed test 'Holds retrieved'
12:01:12 koha_1       |     #   at t/db_dependent/api/v1/patrons_holds.t line 56.
12:01:12 koha_1       |     #     Structures begin differing at:
12:01:12 koha_1       |     #          $got->[0]{hold_id} = '256'
12:01:12 koha_1       |     #     $expected->[0]{hold_id} = '255'
12:01:12 koha_1       |     # Looks like you failed 1 test of 9.
12:01:12 koha_1       |
12:01:12 koha_1       | #   Failed test 'list() tests'
12:01:12 koha_1       | #   at t/db_dependent/api/v1/patrons_holds.t line 70.

This is a weird one, and the only solution I see it to force the order
we want to receive the holds.

I guess we should not rely on an order if no order by clause is passed

Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit afcf0c95b4)
Signed-off-by: Jacob O'Mara <jacob.omara@ptfs-europe.com>
2023-01-25 14:33:47 +00:00
..
acquisitions_baskets.t
…
acquisitions_funds.t
…
acquisitions_orders.t Bug 30677: Add tests 2022-06-28 09:35:45 -03: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 29939: Use the REST API for ratings 2022-08-22 11:31:15 -03:00
cashups.t
…
checkouts.t Bug 30275: Add basic unit test for fetching renewals 2022-07-05 09:46:10 -03:00
cities.t
…
clubs_holds.t
…
erm_agreements.t Bug 32030: (QA follow-up) Enable BasicAuth for ERM tests 2022-11-08 11:55:23 -03:00
erm_documents.t Bug 32030: (QA follow-up) Enable BasicAuth for ERM tests 2022-11-08 11:55:23 -03:00
erm_eholdings_packages.t Bug 32030: (QA follow-up) Enable BasicAuth for ERM tests 2022-11-08 11:55:23 -03:00
erm_eholdings_resources.t Bug 32030: (QA follow-up) Enable BasicAuth for ERM tests 2022-11-08 11:55:23 -03:00
erm_eholdings_titles.t Bug 32030: (QA follow-up) Enable BasicAuth for ERM tests 2022-11-08 11:55:23 -03:00
erm_licenses.t Bug 32030: (QA follow-up) Enable BasicAuth for ERM tests 2022-11-08 11:55:23 -03:00
erm_users.t Bug 32240: Prevent erm_users.t to fail if checkout exist 2022-11-17 13:39:44 -03:00
holds.t Bug 24860: (QA follow-up) Add unit tests to cover Koha::REST::V1::Holds::add 2022-11-04 19:41:44 -03:00
idp.t Bug 31378: (QA follow-up) Tidy tests 2022-11-08 14:40:17 -03:00
illrequests.t
…
import_batch_profiles.t
…
import_record_matches.t Bug 30855: (follow-up) Rewrite tests using Basic authentication 2022-06-02 13:42:28 -03:00
item_groups.t Bug 24857: API spec 2022-07-08 15:59:55 -03:00
items.t Bug 31128: Unit tests 2022-07-22 11:32:21 -03:00
jobs.t Bug 30982: API tweaks 2022-09-23 08:57:49 -03:00
libraries.t Bug 29144: Remove opac_info from a few tests 2022-09-16 09:55:20 -03:00
oauth.t
…
pagination.t
…
patrons.t Bug 32351: Fix t/db_dependent/api/v1/patrons.t 2022-12-02 10:55:27 +00:00
patrons_accounts.t
…
patrons_extended_attributes.t Bug 31381: Add tests 2022-12-02 10:13:53 +00:00
patrons_holds.t Bug 28670: Prevent api/v1/patrons_holds.t to fail randomly 2023-01-25 14:33:47 +00:00
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
…
return_claims.t
…
search_filters.t Bug 17170: (QA follow-up) Spec cleanup 2022-10-21 11:15:22 -03:00
smtp_servers.t
…
stockrotationstage.t
…
suggestions.t
…
transfer_limits.t
…
two_factor_auth.t Bug 30588: (QA follow-up) Remove erroneous FIXME 2022-10-21 11:36:59 -03:00
unhandled_exceptions.t
…