You are here

protected function BlockVisibilityGroupsTestBase::setUp in Block Visibility Groups 8

Overrides BrowserTestBase::setUp

1 call to BlockVisibilityGroupsTestBase::setUp()
VisibilityTest::setUp in src/Tests/VisibilityTest.php
1 method overrides BlockVisibilityGroupsTestBase::setUp()
VisibilityTest::setUp in src/Tests/VisibilityTest.php

File

src/Tests/BlockVisibilityGroupsTestBase.php, line 27

Class

BlockVisibilityGroupsTestBase

Namespace

Drupal\block_visibility_groups\Tests

Code

protected function setUp() {
  parent::setUp();

  // Create and login with user who can administer blocks.
  $this
    ->drupalLogin($this
    ->drupalCreateUser([
    'administer blocks',
  ]));
}