diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 9e59c65a7..908861cf5 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -12,5 +12,9 @@ error_reporting(E_ALL); +if (function_exists('date_default_timezone_set') && function_exists('date_default_timezone_get')) { + date_default_timezone_set(@date_default_timezone_get()); +} + require __DIR__.'/../src/bootstrap.php'; require __DIR__.'/Composer/TestCase.php';