View | Details | Raw Unified | Return to bug 14977
Collapse All | Expand All

(-)a/t/db_dependent/NewsChannels.t (-5 / +4 lines)
Lines 123-132 $rv = upd_opac_new($href_entry2); Link Here
123
ok( $rv == 1, 'Successfully updated second dummy news item!' );
123
ok( $rv == 1, 'Successfully updated second dummy news item!' );
124
124
125
# Test get_opac_new (single news item)
125
# Test get_opac_new (single news item)
126
$timestamp1      = output_pref( { dt => dt_from_string( $timestamp1 ), dateonly => 1, dateformat => 'iso' } );
126
$timestamp1      = output_pref( { dt => dt_from_string( $timestamp1 ), dateonly => 1 } );
127
$expirationdate1 = output_pref( { dt => dt_from_string( $expirationdate1 ), dateonly => 1, dateformat => 'iso' } );
127
$expirationdate1 = output_pref( { dt => dt_from_string( $expirationdate1 ), dateonly => 1 } );
128
$timestamp2      = output_pref( { dt => dt_from_string( $timestamp2 ), dateonly => 1, dateformat => 'iso' } );
128
$timestamp2      = output_pref( { dt => dt_from_string( $timestamp2 ), dateonly => 1 } );
129
$expirationdate2 = output_pref( { dt => dt_from_string( $expirationdate2) , dateonly => 1, dateformat => 'iso' } );
129
$expirationdate2 = output_pref( { dt => dt_from_string( $expirationdate2) , dateonly => 1 } );
130
130
131
is_deeply(
131
is_deeply(
132
    get_opac_new($idnew1),
132
    get_opac_new($idnew1),
133
- 

Return to bug 14977