Bugzilla – Attachment 72548 Details for
Bug 14272
Allow OPAC to show a single news entry
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14272: Show single news item (tests)
Bug-14272-Show-single-news-item-tests.patch (text/plain), 1.67 KB, created by
Katrin Fischer
on 2018-03-09 07:06:07 UTC
(
hide
)
Description:
Bug 14272: Show single news item (tests)
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2018-03-09 07:06:07 UTC
Size:
1.67 KB
patch
obsolete
>From 982cb6d54717d131291437bb62edd7ba21e8cf21 Mon Sep 17 00:00:00 2001 >From: Martin Persson <xarragon@gmail.com> >Date: Fri, 18 Dec 2015 16:40:02 +0100 >Subject: [PATCH] Bug 14272: Show single news item (tests) > >Updates tests to match the modified NewsChannels module. > >Sponsored-by: Halland County Library > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > t/db_dependent/NewsChannels.t | 12 ++++++++++-- > 1 file changed, 10 insertions(+), 2 deletions(-) > >diff --git a/t/db_dependent/NewsChannels.t b/t/db_dependent/NewsChannels.t >index ce15247..b8f5e77 100644 >--- a/t/db_dependent/NewsChannels.t >+++ b/t/db_dependent/NewsChannels.t >@@ -154,11 +154,15 @@ is_deeply( > idnew => $idnew1, > branchname => "$addbra branch", > branchcode => $addbra, >+ author_title => undef, >+ author_firstname => undef, >+ author_surname => undef, >+ newdate => $timestamp1, > # this represents $lang => 1 in the hash > # that's returned... which seems a little > # redundant given that there's a perfectly > # good 'lang' key in the hash >- '' => 1, >+ '' => 1, > }, > 'got back expected news item via get_opac_new - ID 1' > ); >@@ -177,7 +181,11 @@ is_deeply( > idnew => $idnew2, > branchname => "$addbra branch", > branchcode => $addbra, >- '' => 1, >+ author_title => undef, >+ author_firstname => undef, >+ author_surname => $addbrwr, >+ newdate => $timestamp2, >+ '' => 1, > }, > 'got back expected news item via get_opac_new - ID 2' > ); >-- >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 14272
:
45721
|
45740
|
45741
|
45818
|
45820
|
45845
|
45846
|
45935
|
45936
|
45937
|
47556
|
47557
|
47558
|
47665
|
47666
|
47667
|
47668
|
47669
|
47670
|
47671
|
47672
|
47673
|
50557
|
50558
|
50559
|
59483
|
70728
|
70729
|
70730
|
70731
|
72065
|
72548
|
72549
|
72550
|
72551
|
76015
|
76307
|
76580
|
76662
|
77546
|
77564
|
77565
|
77566
|
77567
|
77568
|
77569
|
78104
|
78206
|
78207
|
78208
|
78231
|
81643
|
82713
|
83425
|
83426
|
83427
|
83428
|
83429
|
83430
|
84868
|
84869
|
84870
|
84871
|
84872
|
84873
|
84874