function MenuLinkContentDeleteFormTest::setUp

Same name in other branches
  1. 8.9.x core/modules/menu_link_content/tests/src/Functional/MenuLinkContentDeleteFormTest.php \Drupal\Tests\menu_link_content\Functional\MenuLinkContentDeleteFormTest::setUp()
  2. 10 core/modules/menu_link_content/tests/src/Functional/MenuLinkContentDeleteFormTest.php \Drupal\Tests\menu_link_content\Functional\MenuLinkContentDeleteFormTest::setUp()
  3. 11.x core/modules/menu_link_content/tests/src/Functional/MenuLinkContentDeleteFormTest.php \Drupal\Tests\menu_link_content\Functional\MenuLinkContentDeleteFormTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/menu_link_content/tests/src/Functional/MenuLinkContentDeleteFormTest.php, line 31

Class

MenuLinkContentDeleteFormTest
Tests the menu link content delete UI.

Namespace

Drupal\Tests\menu_link_content\Functional

Code

protected function setUp() : void {
    parent::setUp();
    $web_user = $this->drupalCreateUser([
        'administer menu',
    ]);
    $this->drupalLogin($web_user);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.