Merge remote-tracking branch 'origin/new/bug_7621'
[koha.git] / t / db_dependent / lib / KohaTest / Accounts.pm
1 package KohaTest::Accounts;
2 use base qw( KohaTest );
3
4 use strict;
5 use warnings;
6
7 use Test::More;
8
9 use C4::Accounts;
10 sub testing_class { 'C4::Accounts' };
11
12
13 sub methods : Test( 1 ) {
14     my $self = shift;
15     my @methods = qw( recordpayment
16                       makepayment
17                       getnextacctno
18                       manualinvoice
19                       fixcredit
20                       refund
21                       getcharges
22                       getcredits
23                       getrefunds
24                 );      # removed fixaccounts (unused by codebase)
25     
26     can_ok( $self->testing_class, @methods );    
27 }
28
29 1;