diff --git a/tests/acceptance/features/apiSpaces/notification.feature b/tests/acceptance/features/apiSpaces/notification.feature index 39b7f9e4644..763f8fe2602 100644 --- a/tests/acceptance/features/apiSpaces/notification.feature +++ b/tests/acceptance/features/apiSpaces/notification.feature @@ -116,7 +116,8 @@ Feature: Notification "type": "string" }, "object_id": { - "type": "string" + "type": "string", + "pattern": "^%space_id_pattern%$" }, "object_type": { "type": "string", @@ -173,7 +174,7 @@ Feature: Notification } """ Examples: - | language | subject | message | - | de | Space freigegeben | Alice Hansen hat Sie zum Space notification checking hinzugef\u00fcgt | - | en | Space shared | Alice Hansen added you to Space notification checking | - | es | Space compartido | Alice Hansen te añadió al Space notification checking | + | language | subject | message | + | de | Space freigegeben | Alice Hansen hat Sie zu Space notification checking hinzugefügt | + | en | Space shared | Alice Hansen added you to Space notification checking | + | es | Space compartido | Alice Hansen te añadió al Space notification checking | diff --git a/tests/acceptance/features/bootstrap/SettingsContext.php b/tests/acceptance/features/bootstrap/SettingsContext.php index 753a92e15bf..4801eb09bd9 100644 --- a/tests/acceptance/features/bootstrap/SettingsContext.php +++ b/tests/acceptance/features/bootstrap/SettingsContext.php @@ -293,7 +293,6 @@ public function getBundlesList(string $user, string $bundleName): array { foreach ($body["bundles"] as $value) { if ($value["displayName"] === $bundleName) { return $value; - break; } } return []; @@ -339,7 +338,6 @@ public function getSettingLanguageValue(string $user): string { foreach ($body["values"] as $value) { if ($value["identifier"]["setting"] === "language") { return $value["value"]["listValue"]["values"][0]["stringValue"]; - break; } } }