You are here

protected function UserProtectionTest::setUp in User protect 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/UserProtectionTest.php, line 23

Class

UserProtectionTest
Tests each UserProtection plugin in action.

Namespace

Drupal\Tests\userprotect\Functional

Code

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