https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24229 --- Comment #7 from Tomás Cohen Arazi <tomascohen@gmail.com> --- Created attachment 105163 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=105163&action=edit 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> -- You are receiving this mail because: You are watching all bug changes.