Bug 1953: refactoring C4::Koha::get_itemtypeinfos_of to eliminate potential SQL injection
[koha.git] / t / lib / KohaTest / Calendar.pm
1 package KohaTest::Calendar;
2 use base qw( KohaTest );
3
4 use strict;
5 use warnings;
6
7 use Test::More;
8
9 use C4::Calendar;
10 sub testing_class { 'C4::Calendar' };
11
12
13 sub methods : Test( 1 ) {
14     my $self = shift;
15     my @methods = qw( new
16                       _init
17                       change_branchcode
18                       get_week_days_holidays
19                       get_day_month_holidays
20                       get_exception_holidays
21                       get_single_holidays
22                       insert_week_day_holiday
23                       insert_day_month_holiday
24                       insert_single_holiday
25                       insert_exception_holiday
26                       delete_holiday
27                       isHoliday
28                       addDate
29                       daysBetween
30                 );
31     
32     can_ok( $self->testing_class, @methods );    
33 }
34
35 1;
36