summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-08-08 10:59:10 +0200
committerJoas Schilling <coding@schilljs.com>2023-08-08 10:59:36 +0200
commit957851e9f1d58c958eb620dd8e259516f8a0044a (patch)
tree5231ccedbfd9b08aa0f39b286809573dedc019bf
parente2de469be47a9a93bb830a1e7c56147ab2da3784 (diff)
fix(l10n): 27 is not using a non-breakable space
Signed-off-by: Joas Schilling <coding@schilljs.com>
-rw-r--r--tests/integration/features/bootstrap/FeatureContext.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/features/bootstrap/FeatureContext.php b/tests/integration/features/bootstrap/FeatureContext.php
index cf4037692..a5d159ba4 100644
--- a/tests/integration/features/bootstrap/FeatureContext.php
+++ b/tests/integration/features/bootstrap/FeatureContext.php
@@ -2315,7 +2315,7 @@ class FeatureContext implements Context, SnippetAcceptingContext {
// Replace the date/time line of the call summary because we can not know if we jumped a minute, hour or day on the execution.
if (str_contains($expected[$i]['message'], '{DATE}')) {
$messages[$i]['message'] = preg_replace(
- '/[A-Za-z]+day, [A-Za-z]+ \d+, \d+ · \d+:\d+ [AP]M – \d+:\d+ [AP]M \(UTC\)/u',
+ '/[A-Za-z]+day, [A-Za-z]+ \d+, \d+ · \d+:\d+[  ][AP]M – \d+:\d+[  ][AP]M \(UTC\)/u',
'{DATE}',
$messages[$i]['message']
);