function HelpBlockTest::setUp

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

Overrides BrowserTestBase::setUp

File

core/modules/help/tests/src/Functional/HelpBlockTest.php, line 39

Class

HelpBlockTest
Tests display of help block.

Namespace

Drupal\Tests\help\Functional

Code

protected function setUp() : void {
    parent::setUp();
    $this->helpBlock = $this->placeBlock('help_block');
}

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