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:
oleibman
2023-01-10 20:19:57 -08:00
committed by GitHub
parent 9f0ec1cb35
commit d5b13f64d5
@@ -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);