You are here

public function BlockBlacklistTest::setUp in Block Blacklist [Deprecated] 8

Perform initial setup tasks that run before every test method.

Overrides BrowserTestBase::setUp

File

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

Class

BlockBlacklistTest
Tests for the Block Blacklist module.

Namespace

Drupal\Tests\block_blacklist\Functional

Code

public function setUp() {
  parent::setUp();
  $this->user = $this
    ->DrupalCreateUser([
    'administer site configuration',
    'access block blacklist',
  ]);
}