Skip to content

Commit 7e10a1b

Browse files
minor symfony#61574 [Serializer] fix tests (xabbuh)
This PR was merged into the 6.4 branch. Discussion ---------- [Serializer] fix tests | Q | A | ------------- | --- | Branch? | 6.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT Commits ------- c46301a fix tests
2 parents d33a886 + c46301a commit 7e10a1b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Component/Serializer/Tests/Normalizer/DateTimeNormalizerTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ public static function normalizeUsingTimeZonePassedInContextAndExpectedFormatWit
139139
'2018-12-01T18:03:06.067634',
140140
new \DateTimeZone('UTC')
141141
),
142-
new \DateTimeZone('Europe/Kyiv'),
142+
new \DateTimeZone(\in_array('Europe/Kyiv', \DateTimeZone::listIdentifiers(), true) ? 'Europe/Kyiv' : 'Europe/Kiev'),
143143
];
144144

145145
yield [

0 commit comments

Comments
 (0)