You are here

public function TokenUserTest::setUp in Token 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/TokenUserTest.php, line 37

Class

TokenUserTest
Tests user tokens.

Namespace

Drupal\Tests\token\Functional

Code

public function setUp() {
  parent::setUp();
  $this->account = $this
    ->drupalCreateUser([
    'administer users',
    'administer account settings',
    'access content',
  ]);
  $this
    ->drupalLogin($this->account);
}