summaryrefslogtreecommitdiffstats
path: root/core/modules/node/src/Tests/NodePostSettingsTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/node/src/Tests/NodePostSettingsTest.php')
-rw-r--r--core/modules/node/src/Tests/NodePostSettingsTest.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/modules/node/src/Tests/NodePostSettingsTest.php b/core/modules/node/src/Tests/NodePostSettingsTest.php
index a7478a8..7cfaa7e 100644
--- a/core/modules/node/src/Tests/NodePostSettingsTest.php
+++ b/core/modules/node/src/Tests/NodePostSettingsTest.php
@@ -45,7 +45,7 @@ class NodePostSettingsTest extends NodeTestBase {
// Check that the post information is displayed.
$node = $this->drupalGetNodeByTitle($edit['title[0][value]']);
- $elements = $this->xpath('//*[contains(@class,:class)]', array(':class' => 'submitted'));
+ $elements = $this->xpath('//div[contains(@class, :class)]', array(':class' => 'node__submitted'));
$this->assertEqual(count($elements), 1, 'Post information is displayed.');
$node->delete();
@@ -61,7 +61,7 @@ class NodePostSettingsTest extends NodeTestBase {
$this->drupalPostForm('node/add/page', $edit, t('Save'));
// Check that the post information is displayed.
- $elements = $this->xpath('//*[contains(@class,:class)]', array(':class' => 'submitted'));
+ $elements = $this->xpath('//div[contains(@class, :class)]', array(':class' => 'node__submitted'));
$this->assertEqual(count($elements), 0, 'Post information is not displayed.');
}
}