diff --git a/core/modules/menu/lib/Drupal/menu/Tests/MenuNodeTest.php b/core/modules/menu/lib/Drupal/menu/Tests/MenuNodeTest.php index ba9841b54b29883ea8177bd698b4e0146607940a..76574675bdcb24eb464984ed72feb6cb64c37cf7 100644 --- a/core/modules/menu/lib/Drupal/menu/Tests/MenuNodeTest.php +++ b/core/modules/menu/lib/Drupal/menu/Tests/MenuNodeTest.php @@ -71,7 +71,7 @@ function testMenuNodeFormWidget() { $this->drupalPost('node/add/page', $edit, t('Save')); $node = $this->drupalGetNodeByTitle($node_title); // Assert that there is no link for the node. - $this->drupalGet(''); + $this->drupalGet('user'); $this->assertNoLink($node_title); // Edit the node, enable the menu link setting, but skip the link title. @@ -80,7 +80,7 @@ function testMenuNodeFormWidget() { ); $this->drupalPost('node/' . $node->nid . '/edit', $edit, t('Save')); // Assert that there is no link for the node. - $this->drupalGet(''); + $this->drupalGet('user'); $this->assertNoLink($node_title); // Edit the node and create a menu link. @@ -91,7 +91,7 @@ function testMenuNodeFormWidget() { ); $this->drupalPost('node/' . $node->nid . '/edit', $edit, t('Save')); // Assert that the link exists. - $this->drupalGet(''); + $this->drupalGet('user'); $this->assertLink($node_title); $this->drupalGet('node/' . $node->nid . '/edit'); @@ -103,7 +103,7 @@ function testMenuNodeFormWidget() { ); $this->drupalPost('node/' . $node->nid . '/edit', $edit, t('Save')); // Assert that there is no link for the node. - $this->drupalGet(''); + $this->drupalGet('user'); $this->assertNoLink($node_title); // Add a menu link to the Management menu.