Koha/t/db_dependent/lib/KohaTest/Reserves.pm
Srdjan Jankovic a9ded4fa00 bug_7001: Issue and Reserve slips are notices.
Branches can have their own version of notices - added branchcode to
letter table.
Support html notices - added is_html to letter table.
Support for borrower attributes in templates.
GetPreparedletter() is the interface for compiling letters (notices).
Sysprefs for notice and slips stylesheets
Added TRANSFERSLIP to the letters

Signed-off-by: Paul Poulain <paul.poulain@biblibre.com>
2012-03-09 10:11:20 +01:00

43 lines
1.2 KiB
Perl

package KohaTest::Reserves;
use base qw( KohaTest );
use strict;
use warnings;
use Test::More;
use C4::Reserves;
sub testing_class { 'C4::Reserves' };
sub methods : Test( 1 ) {
my $self = shift;
my @methods = qw( AddReserve
GetReservesFromBiblionumber
GetReservesFromItemnumber
GetReservesFromBorrowernumber
GetReserveCount
GetOtherReserves
GetReserveFee
GetReservesToBranch
GetReservesForBranch
CheckReserves
CancelReserve
ModReserve
ModReserveFill
ModReserveStatus
ModReserveAffect
ModReserveCancelAll
ModReserveMinusPriority
MoveReserve
GetReserveInfo
_FixPriority
_Findgroupreserve
ReserveSlip
);
can_ok( $self->testing_class, @methods );
}
1;