Koha/t/db_dependent/lib/KohaTest/Accounts.pm
Srdjan Jankovic 4770555855 bug_5533: Slightly improved marking items as lost
Call LostItem() whenever item is lost.
LostItem() new arg - mark returned.
Disabled Lost Status on catalogue item edit.

Signed-off-by: Nicole C. Engard <nengard@bywatersolutions.com>

For follow up we need to explain how to hide the 952$1 (lost) from
the framework by putting it in the 'ignore' tab.

Signed-off-by: Ian Walls <ian.walls@bywatersolutions.com>
Signed-off-by: Chris Cormack <chrisc@catalyst.net.nz>
2011-10-18 09:01:39 +13:00

29 lines
629 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
manualinvoice
fixcredit
refund
getcharges
getcredits
getrefunds
); # removed fixaccounts (unused by codebase)
can_ok( $self->testing_class, @methods );
}
1;