Koha-clms/t/db_dependent/api/v1
Jonathan Druart 1993e98edf 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>
2020-04-09 20:15:37 +00:00
..
acquisitions_funds.t Bug 19661: (follow-up) Use Basic auth in tests 2019-03-22 19:40:37 +00:00
acquisitions_vendors.t
…
auth.t
…
auth_authenticate_api_request.t
…
auth_basic.t
…
biblios.t Revert "Bug 24232: Regression tests" 2020-01-14 20:53:26 +00:00
checkouts.t Bug 24543: Fix wrong test in api/v1/checkouts.t 2020-02-14 20:39:33 +00:00
cities.t
…
holds.t Bug 24813: Prevent api/v1/holds.t to fail randomly 2020-04-09 20:15:37 +00:00
illrequests.t Bug 18589: (follow-up) Add borrowernumber test 2019-03-22 20:21:49 +00:00
items.t Bug 16825: Add API route for getting an item 2019-09-13 15:03:15 +02:00
libraries.t
…
oauth.t
…
patrons.t Bug 21336: Fix the API 2019-04-18 09:49:57 +00:00
patrons_accounts.t Bug 23607: Make /patrons/:patron_id/account staff only 2019-10-08 09:07:15 +02:00
patrons_password.t
…
stockrotationstage.t
…