Bugzilla – Attachment 82167 Details for
Bug 20563
ILL request list gives no indication of source and/or target
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 20563: (follow-up) Add unit test
Bug-20563-follow-up-Add-unit-test.patch (text/plain), 1.39 KB, created by
Andrew Isherwood
on 2018-11-09 14:06:25 UTC
(
hide
)
Description:
Bug 20563: (follow-up) Add unit test
Filename:
MIME Type:
Creator:
Andrew Isherwood
Created:
2018-11-09 14:06:25 UTC
Size:
1.39 KB
patch
obsolete
>From 84619b85d9b0fc922048907f16d9374f69f93d82 Mon Sep 17 00:00:00 2001 >From: Andrew Isherwood <andrew.isherwood@ptfs-europe.com> >Date: Fri, 9 Nov 2018 12:23:32 +0000 >Subject: [PATCH] Bug 20563: (follow-up) Add unit test > >Test that requested partners are returned in API response when requested >--- > t/db_dependent/api/v1/illrequests.t | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/api/v1/illrequests.t b/t/db_dependent/api/v1/illrequests.t >index 44fcd9a292..b4cfc4948a 100644 >--- a/t/db_dependent/api/v1/illrequests.t >+++ b/t/db_dependent/api/v1/illrequests.t >@@ -102,11 +102,12 @@ subtest 'list() tests' => sub { > > # One illrequest created, returned with augmented data > $tx = $t->ua->build_tx( GET => >- '/api/v1/illrequests?embed=patron,library,capabilities,metadata' ); >+ '/api/v1/illrequests?embed=patron,library,capabilities,metadata,requested_partners' ); > $tx->req->cookies( { name => 'CGISESSID', value => $session_id } ); > $tx->req->env( { REMOTE_ADDR => $remote_address } ); > $t->request_ok($tx)->status_is(200) > ->json_has( '/0/patron', 'patron embedded' ) >+ ->json_has( '/0/requested_partners', 'requested_partners embedded' ) > ->json_has( '/0/capabilities', 'capabilities embedded' ) > ->json_has( '/0/library', 'library embedded' ) > ->json_has( '/0/metadata', 'metadata embedded' ); >-- >2.11.0
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 20563
:
74152
|
74153
|
75657
|
79523
|
79715
|
79716
|
80603
|
82166
|
82167
|
82511
|
82512
|
82734
|
84695
|
84696
|
84697
|
84698
|
86376
|
86377
|
86378
|
86427
|
86428
|
86429
|
86430
|
86431