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:40:56 +0000 (02:40 +0100)
commitd4d7984308604b8056b2264a15edad0832b32cc9
treec227b3332940ecc7f58036e83b4569155774fd90
parent7e8ae12a7a7264cfee2f480f6bc2af0a2d7bbc61
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