Koha/t/db_dependent/lib/KohaTest/Accounts.pm

30 lines
662 B
Perl

package KohaTest::Accounts;
use base qw( KohaTest );
use strict;
use warnings;
use Test::More;
use C4::Accounts;
sub testing_class { 'C4::Accounts' };
sub methods : Test( 1 ) {
my $self = shift;
my @methods = qw( recordpayment
makepayment
getnextacctno
returnlost
manualinvoice
fixcredit
refund
getcharges
getcredits
getrefunds
); # removed fixaccounts (unused by codebase)
can_ok( $self->testing_class, @methods );
}
1;