diff --git a/core/modules/node/src/Tests/NodeEditFormTest.php b/core/modules/node/src/Tests/NodeEditFormTest.php index 48ff6aa..f2701a4 100644 --- a/core/modules/node/src/Tests/NodeEditFormTest.php +++ b/core/modules/node/src/Tests/NodeEditFormTest.php @@ -80,7 +80,7 @@ public function testNodeEdit() { // As you see the expected link text has no HTML, but we are using $link_text = 'Edit(active tab)'; // @todo Ideally assertLink would support HTML, but it doesn't. - $this->assertText($link_text, 0, 'Edit tab found and marked active.'); + $this->assertRaw($link_text, 'Edit tab found and marked active.'); $this->assertFieldByName($title_key, $edit[$title_key], 'Title field displayed.'); $this->assertFieldByName($body_key, $edit[$body_key], 'Body field displayed.');