mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-07 18:44:08 +00:00
remove the change of timezone in test's setUp
This commit is contained in:
parent
8cb9142800
commit
43966c4d5a
@ -356,20 +356,6 @@ final class CalendarSyncerTest extends TestCase
|
|||||||
}
|
}
|
||||||
JSON;
|
JSON;
|
||||||
|
|
||||||
protected function setUp(): void
|
|
||||||
{
|
|
||||||
parent::setUp();
|
|
||||||
|
|
||||||
// all tests should run when timezone = +02:00
|
|
||||||
$brussels = new \DateTimeZone('Europe/Brussels');
|
|
||||||
|
|
||||||
if (7200 === $brussels->getOffset(new \DateTimeImmutable())) {
|
|
||||||
date_default_timezone_set('Europe/Brussels');
|
|
||||||
} else {
|
|
||||||
date_default_timezone_set('Europe/Moscow');
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public function testHandleAttendeesConfirmingCalendar(): void
|
public function testHandleAttendeesConfirmingCalendar(): void
|
||||||
{
|
{
|
||||||
$machineHttpClient = new MockHttpClient([
|
$machineHttpClient = new MockHttpClient([
|
||||||
|
Loading…
x
Reference in New Issue
Block a user