Lines 141-151
is_deeply(
Link Here
|
141 |
idnew => $idnew1, |
141 |
idnew => $idnew1, |
142 |
branchname => "$addbra branch", |
142 |
branchname => "$addbra branch", |
143 |
branchcode => $addbra, |
143 |
branchcode => $addbra, |
|
|
144 |
author_title => undef, |
145 |
author_firstname => undef, |
146 |
author_surname => undef, |
147 |
newdate => $timestamp1, |
144 |
# this represents $lang => 1 in the hash |
148 |
# this represents $lang => 1 in the hash |
145 |
# that's returned... which seems a little |
149 |
# that's returned... which seems a little |
146 |
# redundant given that there's a perfectly |
150 |
# redundant given that there's a perfectly |
147 |
# good 'lang' key in the hash |
151 |
# good 'lang' key in the hash |
148 |
'' => 1, |
152 |
'' => 1, |
149 |
}, |
153 |
}, |
150 |
'got back expected news item via get_opac_new - ID 1' |
154 |
'got back expected news item via get_opac_new - ID 1' |
151 |
); |
155 |
); |
Lines 164-170
is_deeply(
Link Here
|
164 |
idnew => $idnew2, |
168 |
idnew => $idnew2, |
165 |
branchname => "$addbra branch", |
169 |
branchname => "$addbra branch", |
166 |
branchcode => $addbra, |
170 |
branchcode => $addbra, |
167 |
'' => 1, |
171 |
author_title => undef, |
|
|
172 |
author_firstname => undef, |
173 |
author_surname => $addbrwr, |
174 |
newdate => $timestamp2, |
175 |
'' => 1, |
168 |
}, |
176 |
}, |
169 |
'got back expected news item via get_opac_new - ID 2' |
177 |
'got back expected news item via get_opac_new - ID 2' |
170 |
); |
178 |
); |
171 |
- |
|
|