You are here

protected function MenuLinkCloneTest::setUp in Menu Link Clone 8.3

Same name and namespace in other branches
  1. 8.2 tests/src/Functional/MenuLinkCloneTest.php \Drupal\Tests\menu_link_clone\Functional\MenuLinkCloneTest::setUp()

Sets the test up.

Overrides BrowserTestBase::setUp

File

tests/src/Functional/MenuLinkCloneTest.php, line 47

Class

MenuLinkCloneTest
Create a menu and test a link clone.

Namespace

Drupal\Tests\menu_link_clone\Functional

Code

protected function setUp() {
  parent::setUp();
  $this->adminUser = $this
    ->drupalCreateUser($this->permissions);
  $this
    ->drupalLogin($this->adminUser);
}