Bugzilla – Attachment 79716 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.23 KB, created by
Andrew Isherwood
on 2018-10-01 14:06:27 UTC
(
hide
)
Description:
Bug 20563: (follow-up) Add unit test
Filename:
MIME Type:
Creator:
Andrew Isherwood
Created:
2018-10-01 14:06:27 UTC
Size:
1.23 KB
patch
obsolete
>From b2921c443cd5827d1b459b072b44072c8fe2aa99 Mon Sep 17 00:00:00 2001 >From: Andrew Isherwood <andrew.isherwood@ptfs-europe.com> >Date: Mon, 1 Oct 2018 15:04:44 +0100 >Subject: [PATCH] Bug 20563: (follow-up) Add unit test > >This unit test tests the fetching of the requested_partners embed, if >specified. >--- > t/db_dependent/Illrequests.t | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > >diff --git a/t/db_dependent/Illrequests.t b/t/db_dependent/Illrequests.t >index 761de9f12b..0f6fee4664 100644 >--- a/t/db_dependent/Illrequests.t >+++ b/t/db_dependent/Illrequests.t >@@ -807,7 +807,7 @@ subtest 'Checking Limits' => sub { > > subtest 'TO_JSON() tests' => sub { > >- plan tests => 10; >+ plan tests => 11; > > my $illreqmodule = Test::MockModule->new('Koha::Illrequest'); > >@@ -839,6 +839,8 @@ subtest 'TO_JSON() tests' => sub { > undef, '%embed not passed, no \'capabilities\' attribute' ); > is( $illreq_json->{library}, > undef, '%embed not passed, no \'library\' attribute' ); >+ is( $illreq_json->{requested_partners}, >+ undef, '%embed not passed, no \'requested_partners\' attribute' ); > > $illreq_json = $illreq->TO_JSON( > { patron => 1, metadata => 1, capabilities => 1, library => 1 } ); >-- >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