Lines 82-91
$rv = upd_opac_new($href_entry2);
Link Here
|
82 |
ok( $rv == 1, 'Successfully updated second dummy news item!' ); |
82 |
ok( $rv == 1, 'Successfully updated second dummy news item!' ); |
83 |
|
83 |
|
84 |
# Test get_opac_new (single news item) |
84 |
# Test get_opac_new (single news item) |
85 |
$timestamp1 = output_pref( { dt => dt_from_string( $timestamp1 ), dateonly => 1, dateformat => 'iso' } ); |
85 |
$timestamp1 = output_pref( { dt => dt_from_string( $timestamp1 ), dateonly => 1, dateformat => 'metric' } ); |
86 |
$expirationdate1 = output_pref( { dt => dt_from_string( $expirationdate1 ), dateonly => 1, dateformat => 'iso' } ); |
86 |
$expirationdate1 = output_pref( { dt => dt_from_string( $expirationdate1 ), dateonly => 1, dateformat => 'metric' } ); |
87 |
$timestamp2 = output_pref( { dt => dt_from_string( $timestamp2 ), dateonly => 1, dateformat => 'iso' } ); |
87 |
$timestamp2 = output_pref( { dt => dt_from_string( $timestamp2 ), dateonly => 1, dateformat => 'metric' } ); |
88 |
$expirationdate2 = output_pref( { dt => dt_from_string( $expirationdate2) , dateonly => 1, dateformat => 'iso' } ); |
88 |
$expirationdate2 = output_pref( { dt => dt_from_string( $expirationdate2) , dateonly => 1, dateformat => 'metric' } ); |
89 |
|
89 |
|
90 |
is_deeply( |
90 |
is_deeply( |
91 |
get_opac_new($idnew1), |
91 |
get_opac_new($idnew1), |
92 |
- |
|
|