You are here

protected function MenuLinkContentDeleteFormTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 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() {
  parent::setUp();
  $web_user = $this
    ->drupalCreateUser([
    'administer menu',
  ]);
  $this
    ->drupalLogin($web_user);
}