Set default timezone in PHPUnit bootstrap to pass HHVM tests

This commit is contained in:
Thibaud Fabre
2014-10-17 17:49:49 +02:00
parent 0650b46d0e
commit 65916f2928
+5
View File
@@ -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');