]> git.koha-community.org Git - koha.git/commit
Bug 16376: (regression tests)
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 6 Dec 2016 14:29:08 +0000 (11:29 -0300)
committerKatrin Fischer <katrin.fischer.83@web.de>
Mon, 12 Dec 2016 22:05:51 +0000 (23:05 +0100)
commitaa5c67486f297dbdaa1ba7b6665916a3d2cc05f5
tree6c35aab82436d6ab700eed11f40181c2b7dd17cf
parent4b2dfed916567b13ddc406695858963ebf2aae6b
Bug 16376: (regression tests)

This patch introduces a regression test for exception_holidays. This routine
returns a list of datetimes to be used in date comparison and some datetimes don't exist
in some timezones, so floating timezones should be used instead.

To test:
- Apply the patch on master
- Run:
  $ prove t/db_dependent/Holidays.t
=> FAIL: The new test fails

Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
(cherry picked from commit c6a0848ff0b7acbec4d7bf817447d7cc84c0615e)
Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
t/db_dependent/Holidays.t