function BlockContentRevisionRevertTest::setUp

Same name in other branches
  1. 10 core/modules/block_content/tests/src/Functional/BlockContentRevisionRevertTest.php \Drupal\Tests\block_content\Functional\BlockContentRevisionRevertTest::setUp()

Overrides BlockContentTestBase::setUp

File

core/modules/block_content/tests/src/Functional/BlockContentRevisionRevertTest.php, line 31

Class

BlockContentRevisionRevertTest
Block content revision form test.

Namespace

Drupal\Tests\block_content\Functional

Code

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

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