From 65916f292844f27c046ba35c58a49e61f85b598f Mon Sep 17 00:00:00 2001 From: Thibaud Fabre Date: Fri, 17 Oct 2014 17:49:49 +0200 Subject: [PATCH] Set default timezone in PHPUnit bootstrap to pass HHVM tests --- tests/bootstrap.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/bootstrap.php b/tests/bootstrap.php index 786bef2..72c9c19 100644 --- a/tests/bootstrap.php +++ b/tests/bootstrap.php @@ -9,6 +9,11 @@ if (!file_exists(dirname(__DIR__) . '/vendor/autoload.php')) { . "See http://getcomposer.org for help with installing composer\n"); } +var_dump(phpversion()); + +// Set a default timezone for HHVM tests +date_default_timezone_set('UTC'); + // Include the Composer autoloader $loader = include realpath(dirname(__FILE__) . '/../vendor/autoload.php');