diff --git a/core/modules/datetime/src/Tests/DateTimeFieldTest.php b/core/modules/datetime/src/Tests/DateTimeFieldTest.php index 127d52f..f421bde 100644 --- a/core/modules/datetime/src/Tests/DateTimeFieldTest.php +++ b/core/modules/datetime/src/Tests/DateTimeFieldTest.php @@ -650,7 +650,7 @@ function testDefaultValue() { 'default_value_input[default_date_type]' => 'relative', 'default_value_input[default_date]' => 'invalid date', ); - $this->drupalPostForm('admin/structure/types/manage/date_content/fields/node.date_content.' . $field_name, $field_edit, t('Save settings')); + $this->drupalPostForm('admin/structure/types/manage/date_content/fields/node.date_content.' . $field_name, $field_edit, t('Save field settings')); $this->assertText('The relative date value entered is invalid.'); @@ -659,7 +659,7 @@ function testDefaultValue() { 'default_value_input[default_date_type]' => 'relative', 'default_value_input[default_date]' => '+90 days', ); - $this->drupalPostForm('admin/structure/types/manage/date_content/fields/node.date_content.' . $field_name, $field_edit, t('Save settings')); + $this->drupalPostForm('admin/structure/types/manage/date_content/fields/node.date_content.' . $field_name, $field_edit, t('Save field settings')); // Check that default value is selected in default value form. $this->drupalGet('admin/structure/types/manage/date_content/fields/node.date_content.' . $field_name); @@ -682,7 +682,7 @@ function testDefaultValue() { $field_edit = array( 'default_value_input[default_date_type]' => '', ); - $this->drupalPostForm('admin/structure/types/manage/date_content/fields/node.date_content.' . $field_name, $field_edit, t('Save settings')); + $this->drupalPostForm('admin/structure/types/manage/date_content/fields/node.date_content.' . $field_name, $field_edit, t('Save field settings')); // Check that default value is selected in default value form. $this->drupalGet('admin/structure/types/manage/date_content/fields/node.date_content.' . $field_name); diff --git a/core/modules/entity_reference/src/Tests/EntityReferenceAdminTest.php b/core/modules/entity_reference/src/Tests/EntityReferenceAdminTest.php index bcd01e6..70a664b 100644 --- a/core/modules/entity_reference/src/Tests/EntityReferenceAdminTest.php +++ b/core/modules/entity_reference/src/Tests/EntityReferenceAdminTest.php @@ -134,8 +134,8 @@ public function testFieldAdminHandler() { // Check that the field settings form can be submitted again, even when the // field is required. - // The first 'Edit' link is for the Body field. - $this->clickLink(t('Edit'), 1); + // The first 'Field settings' link is for the Body field. + $this->clickLink(t('Field settings'), 1); $this->drupalPostForm(NULL, array(), t('Save field settings')); // Switch the target type to 'taxonomy_term' and check that the settings diff --git a/core/modules/field_ui/src/Tests/ManageFieldsTest.php b/core/modules/field_ui/src/Tests/ManageFieldsTest.php index e63f229..f8f2043 100644 --- a/core/modules/field_ui/src/Tests/ManageFieldsTest.php +++ b/core/modules/field_ui/src/Tests/ManageFieldsTest.php @@ -158,11 +158,11 @@ function manageFieldsPage($type = '') { foreach ($operation_links as $link) { switch ($link['title']) { - case 'Field settings.': + case 'Edit field settings.': $this->assertIdentical($url, (string) $link['href']); $number_of_links_found++; break; - case 'Storage settings.': + case 'Edit field storage settings.': $this->assertIdentical("$url/storage", (string) $link['href']); $number_of_links_found++; break;