|
Lines 159-165
subtest '->search_for_display' => sub {
Link Here
|
| 159 |
class => 'Koha::News', |
159 |
class => 'Koha::News', |
| 160 |
value => { |
160 |
value => { |
| 161 |
expirationdate => $yesterday, |
161 |
expirationdate => $yesterday, |
| 162 |
timestamp => $today, |
162 |
published_on => $today, |
| 163 |
lang => '', |
163 |
lang => '', |
| 164 |
branchcode => undef, |
164 |
branchcode => undef, |
| 165 |
number => 1, |
165 |
number => 1, |
|
Lines 169-175
subtest '->search_for_display' => sub {
Link Here
|
| 169 |
class => 'Koha::News', |
169 |
class => 'Koha::News', |
| 170 |
value => { |
170 |
value => { |
| 171 |
expirationdate => $tomorrow, |
171 |
expirationdate => $tomorrow, |
| 172 |
timestamp => $today, |
172 |
published_on => $today, |
| 173 |
lang => '', |
173 |
lang => '', |
| 174 |
branchcode => undef, |
174 |
branchcode => undef, |
| 175 |
number => 2, |
175 |
number => 2, |
|
Lines 179-185
subtest '->search_for_display' => sub {
Link Here
|
| 179 |
class => 'Koha::News', |
179 |
class => 'Koha::News', |
| 180 |
value => { |
180 |
value => { |
| 181 |
expirationdate => $tomorrow, |
181 |
expirationdate => $tomorrow, |
| 182 |
timestamp => $tomorrow, |
182 |
published_on => $tomorrow, |
| 183 |
lang => '', |
183 |
lang => '', |
| 184 |
branchcode => undef, |
184 |
branchcode => undef, |
| 185 |
number => 3, |
185 |
number => 3, |
|
Lines 189-195
subtest '->search_for_display' => sub {
Link Here
|
| 189 |
class => 'Koha::News', |
189 |
class => 'Koha::News', |
| 190 |
value => { |
190 |
value => { |
| 191 |
expirationdate => $tomorrow, |
191 |
expirationdate => $tomorrow, |
| 192 |
timestamp => $today, |
192 |
published_on => $today, |
| 193 |
lang => 'slip', |
193 |
lang => 'slip', |
| 194 |
branchcode => $library1->branchcode, |
194 |
branchcode => $library1->branchcode, |
| 195 |
number => 4, |
195 |
number => 4, |
|
Lines 199-205
subtest '->search_for_display' => sub {
Link Here
|
| 199 |
class => 'Koha::News', |
199 |
class => 'Koha::News', |
| 200 |
value => { |
200 |
value => { |
| 201 |
expirationdate => $tomorrow, |
201 |
expirationdate => $tomorrow, |
| 202 |
timestamp => $today, |
202 |
published_on => $today, |
| 203 |
lang => 'koha', |
203 |
lang => 'koha', |
| 204 |
branchcode => $library2->branchcode, |
204 |
branchcode => $library2->branchcode, |
| 205 |
number => 5, |
205 |
number => 5, |
|
Lines 209-215
subtest '->search_for_display' => sub {
Link Here
|
| 209 |
class => 'Koha::News', |
209 |
class => 'Koha::News', |
| 210 |
value => { |
210 |
value => { |
| 211 |
expirationdate => $tomorrow, |
211 |
expirationdate => $tomorrow, |
| 212 |
timestamp => $today, |
212 |
published_on => $today, |
| 213 |
lang => 'koha', |
213 |
lang => 'koha', |
| 214 |
branchcode => undef, |
214 |
branchcode => undef, |
| 215 |
number => 5, |
215 |
number => 5, |