Bug 16550: Clean the tests
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 20 May 2016 16:32:30 +0000 (17:32 +0100)
committerKyle M Hall <kyle@bywatersolutions.com>
Mon, 23 May 2016 17:37:48 +0000 (17:37 +0000)
commit908fdb572ab90541ecf1700eb716eeb5c1399553
tree5961a966126541b27b952ee0f65847c03a58e167
parent521bfb082732c00e33843ee44cbb8ff2a2c1d56d
Bug 16550: Clean the tests

- replace ok with is
- remove diag
- replace $dbh->prepare->execute->fetchrow with $dbh->selectrow_array

And remove unecessary force to scalar context in pl

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
t/db_dependent/NewsChannels.t
tools/koha-news.pl