You are here

public function LinkCheckerOverviewTest::setUp in Link checker 8

Same name in this branch
  1. 8 tests/src/Functional/LinkCheckerOverviewTest.php \Drupal\Tests\linkchecker\Functional\LinkCheckerOverviewTest::setUp()
  2. 8 tests/src/FunctionalJavascript/LinkCheckerOverviewTest.php \Drupal\Tests\linkchecker\FunctionalJavascript\LinkCheckerOverviewTest::setUp()

Overrides BrowserTestBase::setUp

File

tests/src/FunctionalJavascript/LinkCheckerOverviewTest.php, line 35

Class

LinkCheckerOverviewTest
Test Link checker overview view.

Namespace

Drupal\Tests\linkchecker\FunctionalJavascript

Code

public function setUp() {
  parent::setUp();
  $this->adminUser = $this
    ->drupalCreateUser([
    'administer linkchecker',
    'bypass node access',
    'access broken links report',
  ]);
  $this
    ->drupalLogin($this->adminUser);
}