You are here

public function TokenBlockTest::setUp in Token 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/TokenBlockTest.php, line 25

Class

TokenBlockTest
Tests block tokens.

Namespace

Drupal\Tests\token\Functional

Code

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