diff --git a/core/modules/field_ui/src/Tests/ManageFieldsTest.php b/core/modules/field_ui/src/Tests/ManageFieldsTest.php index 25d5d08..2b519ad 100644 --- a/core/modules/field_ui/src/Tests/ManageFieldsTest.php +++ b/core/modules/field_ui/src/Tests/ManageFieldsTest.php @@ -538,7 +538,7 @@ function testLockedField() { // Make sure the cardinality field is not available once the field is // locked. $this->assertNoField('cardinality', 'The cardinality field is not available for the locked field.'); - $this->assertText(format_string('The field !field_name is locked and cannot be edited.', array('!field_name' => $field_name))); + $this->assertRaw(format_string('The field %field_name is locked and cannot be edited.', array('%field_name' => $field_name))); } /**