You are here

protected function PageEditTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/block_content/tests/src/Functional/PageEditTest.php \Drupal\Tests\block_content\Functional\PageEditTest::setUp()

Sets the test up.

Overrides BlockContentTestBase::setUp

File

core/modules/block_content/tests/src/Functional/PageEditTest.php, line 19

Class

PageEditTest
Create a block and test block edit functionality.

Namespace

Drupal\Tests\block_content\Functional

Code

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