Bugzilla – Attachment 72479 Details for
Bug 20167
Item hold is set to bibliographic hold when changing pickup location
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20167: Regression test
Bug-20167-Regression-test.patch (text/plain), 1.18 KB, created by
Claire Gravely
on 2018-03-06 14:19:11 UTC
(
hide
)
Description:
Bug 20167: Regression test
Filename:
MIME Type:
Creator:
Claire Gravely
Created:
2018-03-06 14:19:11 UTC
Size:
1.18 KB
patch
obsolete
>From 7f16a743d14de367b15bc21e4dedc9271ef1e58e Mon Sep 17 00:00:00 2001 >From: Tomas Cohen Arazi <tomascohen@gmail.com> >Date: Mon, 5 Mar 2018 13:35:33 -0300 >Subject: [PATCH] Bug 20167: Regression test > >Signed-off-by: Claire Gravely <claire.gravely@bsz-bw.de> >--- > 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 f74bf12..b3e3678 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.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 20167
:
72436
|
72437
|
72479
|
72480
|
72534
|
72535