Bugzilla – Attachment 72534 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.24 KB, created by
Josef Moravec
on 2018-03-08 12:45:00 UTC
(
hide
)
Description:
Bug 20167: Regression test
Filename:
MIME Type:
Creator:
Josef Moravec
Created:
2018-03-08 12:45:00 UTC
Size:
1.24 KB
patch
obsolete
>From dd9ff6a8fa8c0bd530afa9fe6017622008a27471 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> > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> >--- > 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