[Koha-bugs] [Bug 24229] /items API tests fail on Ubuntu 18.04
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Fri May 15 15:48:33 CEST 2020
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24229
--- Comment #5 from Jonathan Druart <jonathan.druart at bugs.koha-community.org> ---
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.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list