Bug 16550: Clean the tests
commitbdb0f0905ae249084dfd1d538b2b87e847794c1f
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Fri, 20 May 2016 16:32:30 +0000 (20 17:32 +0100)
committerJulian Maurice <julian.maurice@biblibre.com>
Wed, 25 May 2016 09:27:25 +0000 (25 11:27 +0200)
treea4f97b7938c8a115c49d8b5840132e445001aa71
parentc1df167681c6af8e27a8385e34d67dd56f0c53d7
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>
(cherry picked from commit 908fdb572ab90541ecf1700eb716eeb5c1399553)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
t/db_dependent/NewsChannels.t
tools/koha-news.pl