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

(-)a/t/db_dependent/NewsChannels.t (-3 / +10 lines)
Lines 154-164 is_deeply( Link Here
154
        idnew          => $idnew1,
154
        idnew          => $idnew1,
155
        branchname     => "$addbra branch",
155
        branchname     => "$addbra branch",
156
        branchcode     => $addbra,
156
        branchcode     => $addbra,
157
        author_title     => undef,
158
        author_firstname => undef,
159
        author_surname   => undef,
160
        newdate          => $timestamp1,
157
        # this represents $lang => 1 in the hash
161
        # this represents $lang => 1 in the hash
158
        # that's returned... which seems a little
162
        # that's returned... which seems a little
159
        # redundant given that there's a perfectly
163
        # redundant given that there's a perfectly
160
        # good 'lang' key in the hash
164
        # good 'lang' key in the hash
161
        ''             => 1,
165
        ''               => 1,
162
    },
166
    },
163
    'got back expected news item via get_opac_new - ID 1'
167
    'got back expected news item via get_opac_new - ID 1'
164
);
168
);
Lines 177-183 is_deeply( Link Here
177
        idnew          => $idnew2,
181
        idnew          => $idnew2,
178
        branchname     => "$addbra branch",
182
        branchname     => "$addbra branch",
179
        branchcode     => $addbra,
183
        branchcode     => $addbra,
180
        ''             => 1,
184
        author_title     => undef,
185
        author_firstname => undef,
186
        author_surname   => $addbrwr,
187
        newdate          => $timestamp2,
188
        ''               => 1,
181
    },
189
    },
182
    'got back expected news item via get_opac_new - ID 2'
190
    'got back expected news item via get_opac_new - ID 2'
183
);
191
);
184
- 

Return to bug 14272