diff --git a/tests/Unit/Component/Localization/DateTimeFormatterTest.php b/tests/Unit/Component/Localization/DateTimeFormatterTest.php index 85d544a270..baab22c1fb 100644 --- a/tests/Unit/Component/Localization/DateTimeFormatterTest.php +++ b/tests/Unit/Component/Localization/DateTimeFormatterTest.php @@ -28,19 +28,19 @@ public static function formatDateTimeDataProvider(): array // Have to be the same time, only formatted ['inputDateTime' => new DateTime( '2019-08-21T06:52:47+00:00', - ), 'dateTimeZone' => 'UTC', 'result' => 'Aug 21, 2019, 6:52:47 AM'], + ), 'dateTimeZone' => 'UTC', 'result' => "Aug 21, 2019, 6:52:47\u{202f}AM"], // Central Europe Time (UTC +1) ['inputDateTime' => new DateTime( '2019-01-12T14:25:12+00:00', - ), 'dateTimeZone' => 'Europe/Prague', 'result' => 'Jan 12, 2019, 3:25:12 PM'], + ), 'dateTimeZone' => 'Europe/Prague', 'result' => "Jan 12, 2019, 3:25:12\u{202f}PM"], // Central Europe Summer Time (UTC +2) ['inputDateTime' => new DateTime( '2019-08-21T06:52:47+00:00', - ), 'dateTimeZone' => 'Europe/Prague', 'result' => 'Aug 21, 2019, 8:52:47 AM'], + ), 'dateTimeZone' => 'Europe/Prague', 'result' => "Aug 21, 2019, 8:52:47\u{202f}AM"], // Mountain Standard Time (UTC -7) ['inputDateTime' => new DateTime( '2019-08-21T06:52:47+00:00', - ), 'dateTimeZone' => 'America/Phoenix', 'result' => 'Aug 20, 2019, 11:52:47 PM'], + ), 'dateTimeZone' => 'America/Phoenix', 'result' => "Aug 20, 2019, 11:52:47\u{202f}PM"], ]; }