Commit ff28f525 authored by catch's avatar catch

Issue #2568287 by latikas, rashid_786, drnikki, anavarre, miteshmap, cilefen:...

Issue #2568287 by latikas, rashid_786, drnikki, anavarre, miteshmap, cilefen: NodeEditFormTest::testNodeEdit() sets  but uses it only once
parent 39498e7d
......@@ -73,10 +73,8 @@ public function testNodeEdit() {
$this->assertUrl($node->url('edit-form', ['absolute' => TRUE]));
// Check that the title and body fields are displayed with the correct values.
// As you see the expected link text has no HTML, but we are using
$link_text = 'Edit<span class="visually-hidden">(active tab)</span>';
// @todo Ideally assertLink would support HTML, but it doesn't.
$this->assertRaw($link_text, 'Edit tab found and marked active.');
$this->assertRaw('Edit<span class="visually-hidden">(active tab)</span>', '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.');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment