https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24229 --- Comment #9 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- (In reply to Jonathan Druart from comment #5)
Not directly related, but I noticed that we return ALL the items from the DB, and it is what the tests expect:
75 $t->get_ok( "//$userid:$password@/api/v1/items" ) 76 ->status_is( 200, 'SWAGGER3.2.2' ); 77 78 my $items_count = Koha::Items->search->count; 79 my $response_count = scalar @{ $t->tx->res->json }; 80 81 is( $items_count, $response_count, 'The API returns all the items' );
Wondering if this is correct. If not please open a separate bug report.
Tomas, can you answer this question please? As I said yesterday during the dev meeting, it would mean that one could call 6 times the GET /items route to kick the server down? -- You are receiving this mail because: You are watching all bug changes.