Skip to content
Snippets Groups Projects
Commit e5cdc944 authored by Alexander Hass's avatar Alexander Hass
Browse files

Fix var

parent 64222537
No related branches found
No related tags found
No related merge requests found
......@@ -128,7 +128,7 @@ class LinkCheckerInterfaceTest extends WebTestBase {
// Save node.
$this->drupalPostForm('node/add/page', $edit, $this->t('Save'));
$this->assertText($this->t('@type @title has been created.', ['@type' => 'Basic page', '@title' => $edit[0]['title']]), 'Node was created.');
$this->assertText($this->t('@type @title has been created.', ['@type' => 'Basic page', '@title' => $edit["title[0][value]"]]), 'Node was created.');
$node = $this->drupalGetNodeByTitle($edit[0]['title']);
$this->assertTrue($node, 'Node found in database.');
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment