diff --git a/tests/bootstrap.php b/tests/bootstrap.php index b988e8c1..9df960d1 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -6,6 +6,14 @@ use Aviat\Ion\Json; use Aviat\AnimeClient\AnimeClient; +// Work around the silly timezone error +$timezone = ini_get('date.timezone'); +if ($timezone === '' || $timezone === FALSE) +{ + ini_set('date.timezone', 'GMT'); +} + + // ----------------------------------------------------------------------------- // Global functions // -----------------------------------------------------------------------------