summaryrefslogtreecommitdiffstats
path: root/core/modules/node/src/Tests/NodeViewTest.php
diff options
context:
space:
mode:
Diffstat (limited to 'core/modules/node/src/Tests/NodeViewTest.php')
-rw-r--r--core/modules/node/src/Tests/NodeViewTest.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/node/src/Tests/NodeViewTest.php b/core/modules/node/src/Tests/NodeViewTest.php
index c60d44a..ed400ea 100644
--- a/core/modules/node/src/Tests/NodeViewTest.php
+++ b/core/modules/node/src/Tests/NodeViewTest.php
@@ -41,7 +41,7 @@ class NodeViewTest extends NodeTestBase {
$this->assertTrue(mb_strlen($title, 'utf-8') < strlen($title), 'Title has multi-byte characters.');
$node = $this->drupalCreateNode(array('title' => $title));
$this->drupalGet($node->urlInfo());
- $result = $this->xpath('//span[contains(@class, "field-name-title")]');
+ $result = $this->xpath('//span[contains(@class, "field--name-title")]');
$this->assertEqual((string) $result[0], $title, 'The passed title was returned.');
}