From e1001458d7cf550e52ede01425e4c41796573383 Mon Sep 17 00:00:00 2001 From: Andrew Isherwood Date: Thu, 12 Nov 2020 10:36:08 +0000 Subject: [PATCH] Bug 24083: (QA follow-up) Fix failing tests This commit fixes the failing tests mentioned by Jonathan in comment --- t/db_dependent/api/v1/checkouts.t | 2 ++ 1 file changed, 2 insertions(+) diff --git a/t/db_dependent/api/v1/checkouts.t b/t/db_dependent/api/v1/checkouts.t index ee47e1ef47..b3868a340f 100755 --- a/t/db_dependent/api/v1/checkouts.t +++ b/t/db_dependent/api/v1/checkouts.t @@ -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' }); -- 2.20.1