diff options
Diffstat (limited to 'core')
-rw-r--r-- | core/modules/entity_reference/lib/Drupal/entity_reference/Tests/EntityReferenceAdminTest.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/entity_reference/lib/Drupal/entity_reference/Tests/EntityReferenceAdminTest.php b/core/modules/entity_reference/lib/Drupal/entity_reference/Tests/EntityReferenceAdminTest.php index acef71edc14e..7914840b88a9 100644 --- a/core/modules/entity_reference/lib/Drupal/entity_reference/Tests/EntityReferenceAdminTest.php +++ b/core/modules/entity_reference/lib/Drupal/entity_reference/Tests/EntityReferenceAdminTest.php @@ -106,6 +106,6 @@ class EntityReferenceAdminTest extends WebTestBase { ), t('Save settings')); // Check that the field appears in the overview form. - $this->assertFieldByXPath('//table[@id="field-overview"]//td[1]', 'Test label', 'Field was created and appears in the overview page.'); + $this->assertFieldByXPath('//table[@id="field-overview"]//tr[@id="field-test"]/td[1]', 'Test label', 'Field was created and appears in the overview page.'); } } |