@@ -, +, @@ --- t/db_dependent/NewsChannels.t | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) --- a/t/db_dependent/NewsChannels.t +++ a/t/db_dependent/NewsChannels.t @@ -141,11 +141,15 @@ is_deeply( idnew => $idnew1, branchname => "$addbra branch", branchcode => $addbra, + author_title => undef, + author_firstname => undef, + author_surname => undef, + newdate => $timestamp1, # this represents $lang => 1 in the hash # that's returned... which seems a little # redundant given that there's a perfectly # good 'lang' key in the hash - '' => 1, + '' => 1, }, 'got back expected news item via get_opac_new - ID 1' ); @@ -164,7 +168,11 @@ is_deeply( idnew => $idnew2, branchname => "$addbra branch", branchcode => $addbra, - '' => 1, + author_title => undef, + author_firstname => undef, + author_surname => $addbrwr, + newdate => $timestamp2, + '' => 1, }, 'got back expected news item via get_opac_new - ID 2' ); --