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

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';