Bug 24083: (QA follow-up) Fix failing tests

This commit fixes the failing tests mentioned by Jonathan in comment

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Andrew Isherwood 2020-11-12 10:36:08 +00:00 committed by Jonathan Druart
parent cdbc04f69d
commit 552ea4e9d2
1 changed files with 2 additions and 0 deletions

View File

@ -200,6 +200,7 @@ $t->get_ok( "//$userid:$password@/api/v1/checkouts/" . $issue2->issue_id . "/all
->json_is({
allows_renewal => Mojo::JSON->true,
max_renewals => 1,
unseen_renewals => 0,
current_renewals => 0,
error => undef
});
@ -219,6 +220,7 @@ $t->get_ok( "//$userid:$password@/api/v1/checkouts/" . $issue2->issue_id . "/all
->json_is({
allows_renewal => Mojo::JSON->false,
max_renewals => 1,
unseen_renewals => 0,
current_renewals => 1,
error => 'too_many'
});