mirror of
https://github.com/zhamao-robot/zhamao-framework.git
synced 2026-07-02 14:25:38 +08:00
change phpunit default timezone to Asia/Shanghai
This commit is contained in:
@@ -33,7 +33,7 @@ if (PHP_VERSION_ID <= 70100) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!ini_get('date.timezone')) {
|
if (!ini_get('date.timezone')) {
|
||||||
ini_set('date.timezone', 'UTC');
|
ini_set('date.timezone', 'Asia/Shanghai');
|
||||||
}
|
}
|
||||||
|
|
||||||
require $root . '/vendor/autoload.php';
|
require $root . '/vendor/autoload.php';
|
||||||
@@ -45,4 +45,4 @@ go(static function () {
|
|||||||
Swoole\Process::wait();
|
Swoole\Process::wait();
|
||||||
});
|
});
|
||||||
|
|
||||||
Swoole\Event::wait();
|
Swoole\Event::wait();
|
||||||
|
|||||||
Reference in New Issue
Block a user