From 63953cfd457e621af6dff7def8b0e1452cf9fb43 Mon Sep 17 00:00:00 2001 From: Tomas Cohen Arazi Date: Mon, 5 Mar 2018 13:35:33 -0300 Subject: [PATCH] Bug 20167: Regression test --- t/db_dependent/api/v1/holds.t | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/t/db_dependent/api/v1/holds.t b/t/db_dependent/api/v1/holds.t index f74bf12c63..b3e3678c0c 100644 --- a/t/db_dependent/api/v1/holds.t +++ b/t/db_dependent/api/v1/holds.t @@ -202,7 +202,7 @@ subtest "Test endpoints without permission" => sub { ->status_is(403); }; subtest "Test endpoints without permission, but accessing own object" => sub { - plan tests => 15; + plan tests => 16; my $borrno_tmp = $post_data->{'borrowernumber'}; $post_data->{'borrowernumber'} = int $nopermission->{'borrowernumber'}; @@ -236,7 +236,8 @@ subtest "Test endpoints without permission, but accessing own object" => sub { } ) ) - ->json_is( '/priority', 2 ); + ->json_is( '/priority', 2 ) + ->json_is( '/itemnumber', $itemnumber ); }; subtest "Test endpoints with permission" => sub { -- 2.16.2