Koha-clms/t/lib/KohaTest/Branch.pm

37 lines
855 B
Perl

package KohaTest::Branch;
use base qw( KohaTest );
use strict;
use warnings;
use Test::More;
use C4::Branch;
sub testing_class { 'C4::Branch' };
sub methods : Test( 1 ) {
my $self = shift;
my @methods = qw( GetBranches
GetBranchName
ModBranch
GetBranchCategory
GetBranchCategories
GetCategoryTypes
GetBranch
GetBranchDetail
get_branchinfos_of
GetBranchesInCategory
GetBranchInfo
DelBranch
ModBranchCategoryInfo
DelBranchCategory
CheckBranchCategorycode
);
can_ok( $self->testing_class, @methods );
}
1;