[Koha-bugs] [Bug 9074] DB dependent tests for is_holiday
bugzilla-daemon at bugs.koha-community.org
bugzilla-daemon at bugs.koha-community.org
Wed Nov 21 15:39:31 CET 2012
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=9074
--- Comment #6 from Kyle M Hall <kyle at bywatersolutions.com> ---
Here is my output. I'm not sure if this is an error with the test, or an error
in the code.
perl t/db_dependent/Holidays.t
1..11
ok 1 - use Koha::Calendar;
ok 2 - use C4::Calendar;
ok 3 - Koha::Calendar class returned isa Koha::Calendar
ok 4 - C4::Calendar class returned isa C4::Calendar
ok 5 - Sunday is a closed day
ok 6 - Monday is not a closed day
ok 7 - Christmas is a closed day
ok 8 - New Years day is a closed day
ok 9 - Sample single holiday is a closed day
not ok 10 - Sample sunday exception is not a closed day
# Failed test 'Sample sunday exception is not a closed day'
# at t/db_dependent/Holidays.t line 59.
# got: '1'
# expected: '0'
not ok 11 - is_holiday should truncate the date for holiday validation
# Failed test 'is_holiday should truncate the date for holiday validation'
# at t/db_dependent/Holidays.t line 73.
# got: '0'
# expected: '1'
# Looks like you failed 2 tests of 11.
--
You are receiving this mail because:
You are watching all bug changes.
More information about the Koha-bugs
mailing list