MDL-36315 backup: reduce the DST tests failing-window
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Wed, 31 Oct 2012 23:28:59 +0000 (00:28 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Thu, 1 Nov 2012 01:42:08 +0000 (02:42 +0100)
commit391f8b395a3f02a6ee25b09fbeb1c95deb04e702
tree0898fad4e9a7d06139052d54b547903843450ac4
parent98197952cc12587ed11d8dd13922b19df137b772
MDL-36315 backup: reduce the DST tests failing-window

This reduces the period of time that some of the unit tests
for calculate_next_automated_backup() are failing right now
(from 1week to just some hours around the DST changes).

Note it's not the final solution because they will still fail
when New_York or Brussels DST changes are about to happen, but
to get this completely fixed we'll need to wait to switch from
current custom TZ/DST support to PHP built-in one.
backup/util/helper/tests/cronhelper_test.php