Bugzilla – Attachment 44010 Details for
Bug 14977
Remove C4::Dates from files t/db_dependent/*.t
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14977: followup to fix NewsChanell.t
Bug-14977-followup-to-fix-NewsChanellt.patch (text/plain), 1.86 KB, created by
Marc Véron
on 2015-10-26 16:02:03 UTC
(
hide
)
Description:
Bug 14977: followup to fix NewsChanell.t
Filename:
MIME Type:
Creator:
Marc Véron
Created:
2015-10-26 16:02:03 UTC
Size:
1.86 KB
patch
obsolete
>From 00bf74b79c8b0475a3bfec9ca2f78b42b8e5661b Mon Sep 17 00:00:00 2001 >From: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> >Date: Mon, 26 Oct 2015 12:41:32 -0300 >Subject: [PATCH] Bug 14977: followup to fix NewsChanell.t >MIME-Version: 1.0 >Content-Type: text/plain; charset=UTF-8 >Content-Transfer-Encoding: 8bit > >With this patch test pass. > >To test: >Run without and with the patch > >Followed test plan, works as expected. >Signed-off-by: Marc Véron <veron@veron.ch> >--- > t/db_dependent/NewsChannels.t | 8 ++++---- > 1 file changed, 4 insertions(+), 4 deletions(-) > >diff --git a/t/db_dependent/NewsChannels.t b/t/db_dependent/NewsChannels.t >index 0a523fa..43b1043 100644 >--- a/t/db_dependent/NewsChannels.t >+++ b/t/db_dependent/NewsChannels.t >@@ -82,10 +82,10 @@ $rv = upd_opac_new($href_entry2); > ok( $rv == 1, 'Successfully updated second dummy news item!' ); > > # Test get_opac_new (single news item) >-$timestamp1 = output_pref( { dt => dt_from_string( $timestamp1 ), dateonly => 1, dateformat => 'iso' } ); >-$expirationdate1 = output_pref( { dt => dt_from_string( $expirationdate1 ), dateonly => 1, dateformat => 'iso' } ); >-$timestamp2 = output_pref( { dt => dt_from_string( $timestamp2 ), dateonly => 1, dateformat => 'iso' } ); >-$expirationdate2 = output_pref( { dt => dt_from_string( $expirationdate2) , dateonly => 1, dateformat => 'iso' } ); >+$timestamp1 = output_pref( { dt => dt_from_string( $timestamp1 ), dateonly => 1, dateformat => 'metric' } ); >+$expirationdate1 = output_pref( { dt => dt_from_string( $expirationdate1 ), dateonly => 1, dateformat => 'metric' } ); >+$timestamp2 = output_pref( { dt => dt_from_string( $timestamp2 ), dateonly => 1, dateformat => 'metric' } ); >+$expirationdate2 = output_pref( { dt => dt_from_string( $expirationdate2) , dateonly => 1, dateformat => 'metric' } ); > > is_deeply( > get_opac_new($idnew1), >-- >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 14977
:
43218
|
44008
|
44009
|
44010
|
44100
|
44121
|
44122