Koha/t/db_dependent/api/v1
Tomas Cohen Arazi 85ab68c07f
Bug 24229: Avoid fetching ALL items in test
I'm not sure what we need to test here, besides we get results. I'm
pretty sure we shouldn't allow a plain GET return all objects because it
could cause a DOS very easily. But it certainly belongs to a separate
bug/discussion.

In this case, I put a constraint on the items domain (by using
_per_page=10 in the query params) so it won't happen that under certain
conditions the user agent used by Test::Mojo time outs.

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
2020-05-22 09:33:18 +01:00
..
acquisitions_funds.t Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
acquisitions_orders.t Bug 22001: Make the DBD error regex less strict 2020-03-31 17:46:21 +01:00
acquisitions_vendors.t Bug 25048: Regression tests 2020-04-29 16:24:37 +01:00
advanced_editor_macros.t Bug 25502: Adapt Advanced macros routes to current guidelines 2020-05-19 15:21:16 +01:00
auth.t Bug 25327: Regression tests 2020-05-11 10:02:29 +01:00
auth_authenticate_api_request.t Bug 25045: Unit tests 2020-04-27 11:15:26 +01:00
auth_basic.t Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
biblios.t Bug 24908: Unit tests 2020-04-29 17:13:30 +01:00
checkouts.t Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
cities.t Bug 25048: Regression tests 2020-04-29 16:24:37 +01:00
clubs_holds.t Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
holds.t Bug 25048: Regression tests 2020-04-29 16:24:37 +01:00
illrequests.t Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
items.t Bug 24229: Avoid fetching ALL items in test 2020-05-22 09:33:18 +01:00
libraries.t Bug 22001: Make the DBD error regex less strict 2020-03-31 17:46:21 +01:00
oauth.t Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
patrons.t Bug 25048: Regression tests 2020-04-29 16:24:37 +01:00
patrons_accounts.t Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00
patrons_password.t Bug 22522: Fix several REST API tests 2020-02-25 13:44:22 +00:00
return_claims.t Bug 22001: Make the DBD error regex less strict 2020-03-31 17:46:21 +01:00
stockrotationstage.t Bug 24545: Fix license statements 2020-02-24 13:31:26 +00:00