From d453e34e35b53d03570d547d1d66c7286f4f10df Mon Sep 17 00:00:00 2001 From: webchick <webchick@24967.no-reply.drupal.org> Date: Fri, 11 Oct 2013 09:53:49 -0700 Subject: [PATCH] Issue #2025451 by amateescu, Berdir | Xano: Fixed Drupal\entity_reference()\Tests\EntityReferenceAdminTest fails on PHP 5.4.9 and libxml 2.9.0. --- .../Drupal/entity_reference/Tests/EntityReferenceAdminTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 @@ public function testFieldAdminHandler() { ), 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.'); } } -- GitLab