function NonDefaultBlockAdminTest::setUp

Same name in other branches
  1. 9 core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php \Drupal\Tests\block\Functional\NonDefaultBlockAdminTest::setUp()
  2. 8.9.x core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php \Drupal\Tests\block\Functional\NonDefaultBlockAdminTest::setUp()
  3. 10 core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php \Drupal\Tests\block\Functional\NonDefaultBlockAdminTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/block/tests/src/Functional/NonDefaultBlockAdminTest.php, line 29

Class

NonDefaultBlockAdminTest
Tests the block administration page for a non-default theme.

Namespace

Drupal\Tests\block\Functional

Code

protected function setUp() : void {
    parent::setUp();
    $this->drupalPlaceBlock('local_tasks_block');
}

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