diff --git a/core/modules/field_ui/src/Tests/ManageFieldsTest.php b/core/modules/field_ui/src/Tests/ManageFieldsTest.php index d08ab03ba4..e87580d2d3 100644 --- a/core/modules/field_ui/src/Tests/ManageFieldsTest.php +++ b/core/modules/field_ui/src/Tests/ManageFieldsTest.php @@ -278,7 +278,7 @@ public function cardinalitySettings() { 'cardinality_number' => 1, ]; $this->drupalPostForm($field_edit_path, $edit, t('Save field settings')); - $this->assertRaw(t('There is @count entity with @delta or more values in this field.', ['@count' => 1, '@delta' => 2]), 'Correctly failed to set cardinality lower than highest delta.'); + $this->assertRaw(t('There is @count entity with @delta or more values in this field', ['@count' => 1, '@delta' => 2]), 'Correctly failed to set cardinality lower than highest delta.'); // Create a second entity with three values. $edit = ['title[0][value]' => 'Cardinality 3', 'body[0][value]' => 'Body 1', 'body[1][value]' => 'Body 2', 'body[2][value]' => 'Body 3']; @@ -301,14 +301,14 @@ public function cardinalitySettings() { 'cardinality_number' => 1, ]; $this->drupalPostForm($field_edit_path, $edit, t('Save field settings')); - $this->assertRaw(t('There are @count entities with @delta or more values in this field.', ['@count' => 2, '@delta' => 2]), 'Correctly failed to set cardinality lower than highest delta.'); + $this->assertRaw(t('There are @count entities with @delta or more values in this field', ['@count' => 2, '@delta' => 2]), 'Correctly failed to set cardinality lower than highest delta.'); $edit = [ 'cardinality' => 'number', 'cardinality_number' => 2, ]; $this->drupalPostForm($field_edit_path, $edit, t('Save field settings')); - $this->assertRaw(t('There is @count entity with @delta or more values in this field.', ['@count' => 1, '@delta' => 3]), 'Correctly failed to set cardinality lower than highest delta.'); + $this->assertRaw(t('There is @count entity with @delta or more values in this field', ['@count' => 1, '@delta' => 3]), 'Correctly failed to set cardinality lower than highest delta.'); $edit = [ 'cardinality' => 'number',