Skip to content

Commit fd6bc65

Browse files
committed
set default time zone to avoid errors in CI environment
1 parent 772c3f0 commit fd6bc65

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tests/autoload.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,3 +22,6 @@ function getallheaders(){
2222

2323
// mock database
2424
MockSettings::setSettings('php-platform/persist', 'connection-class', 'PhpPlatform\Tests\SearchQueryParser\MockDataBase');
25+
26+
// set date_default_timezone_set
27+
date_default_timezone_set('Asia/Kolkata');

0 commit comments

Comments
 (0)