Bugzilla – Attachment 47671 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.62 KB, created by
Aleisha Amohia
on 2016-02-05 01:20:36 UTC
(
hide
)
Description:
Bug 14272: Show single news item (tests)
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2016-02-05 01:20:36 UTC
Size:
1.62 KB
patch
obsolete
>From c302a2b53f58657acee1b9b12adb83b870b049fd 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 >--- > 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 2f38c78..f720497 100644 >--- a/t/db_dependent/NewsChannels.t >+++ b/t/db_dependent/NewsChannels.t >@@ -141,11 +141,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' > ); >@@ -164,7 +168,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' > ); >-- >1.7.10.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