You are here

protected function FacetsBlockTest::setUp in Facets Block 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/FacetsBlockTest.php, line 35

Class

FacetsBlockTest
Tests the Facets Block.

Namespace

Drupal\Tests\facets_block\Functional

Code

protected function setUp() {
  parent::setUp();
  $admin_user = $this
    ->drupalCreateUser([
    'administer blocks',
    'administer site configuration',
    'access administration pages',
  ]);
  $this
    ->drupalLogin($admin_user);
}