function BlockLayoutTourTest::setUp

Overrides BrowserTestBase::setUp

File

core/modules/tour/tests/src/Functional/Block/BlockLayoutTourTest.php, line 39

Class

BlockLayoutTourTest
Tests the Block Layout tour.

Namespace

Drupal\Tests\tour\Functional\Block

Code

protected function setUp() : void {
  parent::setUp();
  $this->adminUser = $this->drupalCreateUser([
    'administer blocks',
    'access tour',
  ]);
  $this->drupalLogin($this->adminUser);
  $this->drupalPlaceBlock('local_actions_block');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.