You are here

protected function BlockContentCreationTest::setUp in Drupal 9

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

Sets the test up.

Overrides BlockContentTestBase::setUp

File

core/modules/block_content/tests/src/Functional/BlockContentCreationTest.php, line 43

Class

BlockContentCreationTest
Create a block and test saving it.

Namespace

Drupal\Tests\block_content\Functional

Code

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