Bug 16376: (regression tests)
authorTomas Cohen Arazi <tomascohen@theke.io>
Tue, 6 Dec 2016 14:29:08 +0000 (11:29 -0300)
committerKyle M Hall <kyle@bywatersolutions.com>
Fri, 9 Dec 2016 15:25:01 +0000 (15:25 +0000)
commitc6a0848ff0b7acbec4d7bf817447d7cc84c0615e
treeb67ffd168f7a25148613903c755e21fbc4d30239
parentd0b6197709f468aac6157c9901acc89be48e304f
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>
t/db_dependent/Holidays.t