summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDries2013-11-17 23:31:58 (GMT)
committerDries2013-11-17 23:31:58 (GMT)
commitc391de1828295926f2ec0de1540633d280881546 (patch)
tree4c4d02494233a054da59413a7b193218b9a73409
parent798850df257567e16755b706f8e0e0bd66c2e6a2 (diff)
Issue #2125725 by Sweetchuck: Wrong XPath query in FieldUiTestBase.php.
-rw-r--r--core/modules/field_ui/lib/Drupal/field_ui/Tests/FieldUiTestBase.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/field_ui/lib/Drupal/field_ui/Tests/FieldUiTestBase.php b/core/modules/field_ui/lib/Drupal/field_ui/Tests/FieldUiTestBase.php
index 9116d09..705c2b6 100644
--- a/core/modules/field_ui/lib/Drupal/field_ui/Tests/FieldUiTestBase.php
+++ b/core/modules/field_ui/lib/Drupal/field_ui/Tests/FieldUiTestBase.php
@@ -83,7 +83,7 @@ abstract class FieldUiTestBase extends WebTestBase {
$this->assertRaw(t('Saved %label configuration.', array('%label' => $label)), 'Redirected to "Manage fields" page.');
// Check that the field appears in the overview form.
- $this->assertFieldByXPath('//table[@id="field-overview"]//td[1]', $label, 'Field was created and appears in the overview page.');
+ $this->assertFieldByXPath('//table[@id="field-overview"]//tr/td[1]', $label, 'Field was created and appears in the overview page.');
}
/**
@@ -109,7 +109,7 @@ abstract class FieldUiTestBase extends WebTestBase {
$this->assertRaw(t('Saved %label configuration.', array('%label' => $label)), 'Redirected to "Manage fields" page.');
// Check that the field appears in the overview form.
- $this->assertFieldByXPath('//table[@id="field-overview"]//td[1]', $label, 'Field was created and appears in the overview page.');
+ $this->assertFieldByXPath('//table[@id="field-overview"]//tr/td[1]', $label, 'Field was created and appears in the overview page.');
}
/**