mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-03-18 05:04:51 +08:00
change phpunit default timezone to Asia/Shanghai
This commit is contained in:
parent
acf570e652
commit
f450b8d863
@ -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();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user