[Koha-bugs] [Bug 8800] SpecifyDueDate && useDaysMode=Datedue wrong behaviour

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Nov 9 20:26:00 CET 2012


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8800

Chris Cormack <chris at bigballofwax.co.nz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |chris at bigballofwax.co.nz

--- Comment #12 from Chris Cormack <chris at bigballofwax.co.nz> ---
 perl t/Calendar.t                                   2012-11-10 08:23:06
christopher pts/2
1..28
ok 1 - use Koha::Calendar;
ok 2 - use C4::Calendar;
ok 3 - Calendar class returned isa Koha::Calendar
ok 4 - Sunday is a closed day
ok 5 - Monday is not a closed day
ok 6 - month/day closed day test
ok 7 - special closed day test
ok 8 - open day test
ok 9 - addDate skips closed Sunday
ok 10 - Negative call to addDate
ok 11 - days_between calculates correctly
ok 12 - Simple Single Day Add (Calendar)
ok 13 - Add 7 days Calendar mode
ok 14 - Add 7 days Datedue mode
ok 15 - Add 7 days Days mode
ok 16 - is holiday for the next test
ok 17 - Date should be the same after is_holiday
ok 18 - test larger intervals
ok 19 - test positive intervals
ok 20 - test parameter order not relevant
ok 21 - days_between calculates correctly
ok 22 - holiday correctly recognized
ok 23 - multiple holidays correctly recognized
ok 24 - Next open day correctly calculated
ok 25 - Previous open day correctly calculated
    ok 1 - Single day add (Datedue, matches holiday, shift)
    ok 2 - Two days add, skips holiday (Datedue)
    1..2
ok 26 - useDaysMode=Datedue
    ok 1 - Single day add (Calendar)
    1..1
ok 27 - useDaysMode=Calendar
    ok 1 - Single day add (Days)
    1..1
ok 28 - useDaysMode=Days

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list