]> git.koha-community.org Git - koha.git/commit
Bug 7567: add tests for C4::NewsChannel
authorMark Tompsett <mtompset@hotmail.com>
Fri, 13 Dec 2013 04:19:18 +0000 (23:19 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 7 Apr 2014 18:02:15 +0000 (18:02 +0000)
commita6213abe019bf05b92a0df765cf4e3200dd3b42a
tree130ca3162c371d2a0fea4508a4463c6594d24422
parent04e4fc9751332f08ada8da7814652dcddbee72c9
Bug 7567: add tests for C4::NewsChannel

Testing was lacking, this tests every function call. As a
side effect, this moved the stub of a test file from
t/NewsChannels.t to t/db_dependent/NewsChannels.t, since the
table opac_news must exist.

Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
Passes all 8 tests

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
t/NewsChannels.t [deleted file]
t/db_dependent/NewsChannels.t [new file with mode: 0755]