mirror of
https://github.com/PHPOffice/PhpSpreadsheet.git
synced 2026-09-04 22:50:27 +00:00
Change Test To Avoid Bug in Latest Php (#3289)
Unit tests were failing at Github, having nothing to do with PhpSpreadsheet. Change test to avoid bug, which is reported at https://github.com/php/php-src/issues/10285
This commit is contained in:
@@ -52,7 +52,7 @@ class TimeZoneTest extends TestCase
|
||||
|
||||
public function testSetTimezoneBackwardCompatible(): void
|
||||
{
|
||||
$bcTimezone = 'Etc/GMT+10';
|
||||
$bcTimezone = 'Etc/GMT-10';
|
||||
$result = TimeZone::setTimezone($bcTimezone);
|
||||
self::assertTrue($result);
|
||||
$result = Date::setDefaultTimezone($bcTimezone);
|
||||
|
||||
Reference in New Issue
Block a user