Lines 174-180
subtest '->search_for_display' => sub {
Link Here
|
174 |
class => 'Koha::News', |
174 |
class => 'Koha::News', |
175 |
value => { |
175 |
value => { |
176 |
expirationdate => $yesterday, |
176 |
expirationdate => $yesterday, |
177 |
timestamp => $today, |
177 |
published_on => $today, |
178 |
lang => '', |
178 |
lang => '', |
179 |
branchcode => undef, |
179 |
branchcode => undef, |
180 |
number => 1, |
180 |
number => 1, |
Lines 184-190
subtest '->search_for_display' => sub {
Link Here
|
184 |
class => 'Koha::News', |
184 |
class => 'Koha::News', |
185 |
value => { |
185 |
value => { |
186 |
expirationdate => $tomorrow, |
186 |
expirationdate => $tomorrow, |
187 |
timestamp => $today, |
187 |
published_on => $today, |
188 |
lang => '', |
188 |
lang => '', |
189 |
branchcode => undef, |
189 |
branchcode => undef, |
190 |
number => 2, |
190 |
number => 2, |
Lines 194-200
subtest '->search_for_display' => sub {
Link Here
|
194 |
class => 'Koha::News', |
194 |
class => 'Koha::News', |
195 |
value => { |
195 |
value => { |
196 |
expirationdate => $tomorrow, |
196 |
expirationdate => $tomorrow, |
197 |
timestamp => $tomorrow, |
197 |
published_on => $tomorrow, |
198 |
lang => '', |
198 |
lang => '', |
199 |
branchcode => undef, |
199 |
branchcode => undef, |
200 |
number => 3, |
200 |
number => 3, |
Lines 204-210
subtest '->search_for_display' => sub {
Link Here
|
204 |
class => 'Koha::News', |
204 |
class => 'Koha::News', |
205 |
value => { |
205 |
value => { |
206 |
expirationdate => $tomorrow, |
206 |
expirationdate => $tomorrow, |
207 |
timestamp => $today, |
207 |
published_on => $today, |
208 |
lang => 'slip', |
208 |
lang => 'slip', |
209 |
branchcode => $library1->branchcode, |
209 |
branchcode => $library1->branchcode, |
210 |
number => 4, |
210 |
number => 4, |
Lines 214-220
subtest '->search_for_display' => sub {
Link Here
|
214 |
class => 'Koha::News', |
214 |
class => 'Koha::News', |
215 |
value => { |
215 |
value => { |
216 |
expirationdate => $tomorrow, |
216 |
expirationdate => $tomorrow, |
217 |
timestamp => $today, |
217 |
published_on => $today, |
218 |
lang => 'koha', |
218 |
lang => 'koha', |
219 |
branchcode => $library2->branchcode, |
219 |
branchcode => $library2->branchcode, |
220 |
number => 5, |
220 |
number => 5, |
Lines 224-230
subtest '->search_for_display' => sub {
Link Here
|
224 |
class => 'Koha::News', |
224 |
class => 'Koha::News', |
225 |
value => { |
225 |
value => { |
226 |
expirationdate => $tomorrow, |
226 |
expirationdate => $tomorrow, |
227 |
timestamp => $today, |
227 |
published_on => $today, |
228 |
lang => 'koha', |
228 |
lang => 'koha', |
229 |
branchcode => undef, |
229 |
branchcode => undef, |
230 |
number => 5, |
230 |
number => 5, |