Koha/t/lib/KohaTest/Category.pm
John Beppu ed3c0545da Tests for New Modules
- KohaTest::Category
- KohaTest::ItemCirculationAlertPreference
- KohaTest::ItemType
- KohaTest::Message

Signed-off-by: Daniel Sweeney <daniel.sweeney@liblime.com>
Signed-off-by: Galen Charlton <galen.charlton@liblime.com>
2009-02-04 13:58:22 -06:00

23 lines
355 B
Perl

package KohaTest::Category;
use base qw( KohaTest );
use strict;
use warnings;
use Test::More;
use C4::Category;
sub testing_class { 'C4::Category' };
sub methods : Test( 1 ) {
my $self = shift;
my @methods = qw(
new
all
);
can_ok( $self->testing_class, @methods );
}
1;