You are here

protected function RoleWatchdogTest::setUp in Role Watchdog 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/RoleWatchdogTest.php, line 32

Class

RoleWatchdogTest
Tests to ensure working of Role Watchdog modules.

Namespace

Drupal\Tests\role_watchdog\Functional

Code

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