function PageEditTest::setUp

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

Overrides BlockContentTestBase::setUp

File

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

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');
    $this->drupalPlaceBlock('system_breadcrumb_block');
}

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