Bugzilla – Attachment 59865 Details for
Bug 17960
Rename opac_news.new with opac_news.content
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 17960: Add opac_news.content values in tests
Bug-17960-Add-opacnewscontent-values-in-tests.patch (text/plain), 1.07 KB, created by
Nick Clemens (kidclamp)
on 2017-02-03 10:32:14 UTC
(
hide
)
Description:
Bug 17960: Add opac_news.content values in tests
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2017-02-03 10:32:14 UTC
Size:
1.07 KB
patch
obsolete
>From 5b1df7a6cfdd6b24e3493a1361b3650a7d0773c0 Mon Sep 17 00:00:00 2001 >From: Jonathan Druart <jonathan.druart@bugs.koha-community.org> >Date: Tue, 24 Jan 2017 09:14:26 +0100 >Subject: [PATCH] Bug 17960: Add opac_news.content values in tests > >Signed-off-by: Josef Moravec <josef.moravec@gmail.com> > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > t/db_dependent/Koha/News.t | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/t/db_dependent/Koha/News.t b/t/db_dependent/Koha/News.t >index debae26..bc5c5c9 100644 >--- a/t/db_dependent/Koha/News.t >+++ b/t/db_dependent/Koha/News.t >@@ -36,10 +36,12 @@ my $nb_of_news = Koha::News->search->count; > my $new_news_item_1 = Koha::NewsItem->new({ > branchcode => $library->{branchcode}, > title => 'a news', >+ content => 'content for news 1', > })->store; > my $new_news_item_2 = Koha::NewsItem->new({ > branchcode => $library->{branchcode}, > title => 'another news', >+ content => 'content for news 2', > })->store; > > like( $new_news_item_1->idnew, qr|^\d+$|, 'Adding a new news_item should have set the idnew'); >-- >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 17960
:
59406
|
59407
|
59408
|
59409
|
59488
|
59768
|
59772
|
59773
|
59774
|
59775
|
59776
|
59777
|
59861
|
59862
|
59863
|
59864
| 59865 |
59866