]> git.koha-community.org Git - koha.git/commit
Bug 21066: Update NewsChannels.t
authorMarcel de Rooy <m.de.rooy@rijksmuseum.nl>
Mon, 3 Aug 2020 14:27:24 +0000 (14:27 +0000)
committerJonathan Druart <jonathan.druart@bugs.koha-community.org>
Wed, 2 Sep 2020 12:49:26 +0000 (14:49 +0200)
commita168e647bbb1da5a338fc4cda618adcde1ac7324
tree4ce5f5e28186bbad65d08b751dd5720da910d2dd
parentede8546e2b03199832637e7e79b3ab980edc47db
Bug 21066: Update NewsChannels.t

Removing the weird '' => 1 from the hash too.
NOTE: The following line in the module seems to be useless:
    $data->{$data->{'lang'}} = 1 if defined $data->{lang};

Test plan:
Run t/db_dependent/NewsChannels.t
Run t/db_dependent/Koha/News.t

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Owen Leonard <oleonard@myacpl.org>
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
C4/NewsChannels.pm
t/db_dependent/NewsChannels.t