change phpunit default timezone to Asia/Shanghai

This commit is contained in:
sunxyw 2022-03-28 18:19:48 +08:00
parent acf570e652
commit f450b8d863
No known key found for this signature in database
GPG Key ID: CEA01A083E98C578

View File

@ -33,7 +33,7 @@ if (PHP_VERSION_ID <= 70100) {
}
if (!ini_get('date.timezone')) {
ini_set('date.timezone', 'UTC');
ini_set('date.timezone', 'Asia/Shanghai');
}
require $root . '/vendor/autoload.php';
@ -45,4 +45,4 @@ go(static function () {
Swoole\Process::wait();
});
Swoole\Event::wait();
Swoole\Event::wait();