protected function BlockContextualLinksTest::setUp in Drupal 9
Overrides BrowserTestBase::setUp
File
- core/
modules/ block/ tests/ src/ FunctionalJavascript/ BlockContextualLinksTest.php, line 34
Class
- BlockContextualLinksTest
- Tests the contextual links added while rendering the block.
Namespace
Drupal\Tests\block\FunctionalJavascriptCode
protected function setUp() : void {
parent::setUp();
$this->blockId = $this->defaultTheme . '_powered';
$this
->placeBlock('system_powered_by_block', [
'id' => $this->blockId,
'region' => 'content',
]);
}