public function MultipleNodeMenuTestCase::setUp in Multiple Node Menu 8
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ MultipleNodeMenuTestCase.php, line 48
Class
- MultipleNodeMenuTestCase
- Test adding, editing and deleting multiple menu links attached to nodes.
Namespace
Drupal\Tests\multiple_node_menu\FunctionalCode
public function setUp() : void {
parent::setUp();
$this->adminUser = $this
->drupalCreateUser([
'access administration pages',
'administer content types',
'administer menu',
'create page content',
'edit any page content',
'delete any page content',
]);
$this
->drupalLogin($this->adminUser);
}