From c094cf87e35ef34798641bb022a58fc2a5d8ed1c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Gamez?= Date: Sun, 23 Aug 2026 20:03:29 +0200 Subject: [PATCH] Don't assume the local time zone is not `Europe/Berlin` --- tests/SystemClockTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/SystemClockTest.php b/tests/SystemClockTest.php index 334c576..e4206cd 100644 --- a/tests/SystemClockTest.php +++ b/tests/SystemClockTest.php @@ -30,7 +30,7 @@ final class SystemClockTest extends TestCase #[Test] public function itUsesTheSystemTimeZone(): void { - $timeZone = 'Europe/Berlin'; + $timeZone = $this->defaultTimeZone === 'Europe/Berlin' ? 'UTC' : 'Europe/Berlin'; self::assertNotSame($timeZone, $this->defaultTimeZone); date_default_timezone_set($timeZone);