Koha-clms/t/db_dependent/api/v1
Jonathan Druart db9102617e Bug 24813: Prevent api/v1/holds.t to fail randomly
Hold cannot be suspended if found=W:
Koha::Hold->suspend_hold
 90     if ( $self->is_found ) {    # We can't suspend found holds

So when TestBuilder generate a hold with found=W the test fail.

A question however:
Why did not we have the correct exception displayed somewhere? That
would be much more helpful to find the problem!

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Joy Nelson <joy@bywatersolutions.com>
(cherry picked from commit c405b03dd3)

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
(cherry picked from commit 1993e98edf)

Signed-off-by: Hayley Mapley <hayleymapley@catalyst.net.nz>
2020-04-15 10:12:35 +12:00
..
acquisitions_funds.t Bug 19661: (follow-up) Use Basic auth in tests 2019-04-01 11:28:59 +01:00
acquisitions_vendors.t Bug 18120: /acquisitions/vendors unit tests 2017-09-29 17:13:13 -03:00
auth.t Bug 18137: (QA followup) Make sure the session exists and is expired on expiration tests 2017-09-21 11:27:05 -03:00
auth_authenticate_api_request.t Bug 22071: Regression tests 2019-01-10 14:22:15 +00:00
auth_basic.t Bug 22132: (QA follow-up) set_password now expects a hashref 2019-02-01 15:44:04 +00:00
checkouts.t Bug 13895: Fix test 2019-04-01 15:02:00 +01:00
cities.t Bug 20004: Unit tests 2018-02-16 17:53:41 -03:00
holds.t Bug 24813: Prevent api/v1/holds.t to fail randomly 2020-04-15 10:12:35 +12:00
illrequests.t Bug 21835: (QA follow-up) Fix failing test 2018-11-16 17:29:30 +00:00
libraries.t Bug 16497: Refactor tests using BASIC authentication 2019-02-25 19:02:09 +00:00
oauth.t Bug 20624: Net::OAuth2::AuthorizationServer is not a hard dependency 2018-05-09 12:56:03 -03:00
patrons.t Bug 22107: patrons.t doesn't need to delete existing data 2019-01-14 14:29:55 +00:00
patrons_accounts.t Bug 23607: Make /patrons/:patron_id/account staff only 2019-10-17 01:15:27 +00:00
patrons_password.t Bug 17006: Add /patrons/{patron_id}/password 2019-02-01 15:18:45 +00:00
stockrotationstage.t Bug 11897: Use 'stockrotation' permission for the endpoint 2018-10-09 15:46:06 +00:00