Bug 16376: (regression tests)
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 6 Dec 2016 14:29:08 +0000 (11:29 -0300)
committerMason James <mtj@kohaaloha.com>
Tue, 3 Jan 2017 01:22:37 +0000 (14:22 +1300)
commit260b3c0920a1c6220b8f6b4e0517fc1c057d4bed
tree954a35e11700ebc0ddaa6cf47995ce61f0e6f4af
parent3046b01bccc9031805d7a46f926521e34359d509
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>
(cherry picked from commit aa5c67486f297dbdaa1ba7b6665916a3d2cc05f5)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
t/db_dependent/Holidays.t