You are here

protected function BlockLayoutTourTest::setUp in Drupal 9

Overrides BrowserTestBase::setUp

File

core/modules/block/tests/src/Functional/BlockLayoutTourTest.php, line 36

Class

BlockLayoutTourTest
Tests the Block Layout tour.

Namespace

Drupal\Tests\block\Functional

Code

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