Koha/t/lib/KohaTest/NewsChannels.pm
Galen Charlton c53c9ff8c6 bug 3303: removed references to news_channels*
Removed routines in C4/NewsChannels.pm that refered
to missing database tables news_channels and news_channel_categories.

Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-06-07 20:09:18 -05:00

28 lines
540 B
Perl

package KohaTest::NewsChannels;
use base qw( KohaTest );
use strict;
use warnings;
use Test::More;
use C4::NewsChannels;
sub testing_class { 'C4::NewsChannels' };
sub methods : Test( 1 ) {
my $self = shift;
my @methods = qw(
add_opac_new
upd_opac_new
del_opac_new
get_opac_new
get_opac_news
GetNewsToDisplay
);
can_ok( $self->testing_class, @methods );
}
1;