You are here

protected function BlockContentSaveTest::setUp in Drupal 10

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

Sets the test up.

File

core/modules/block_content/tests/src/Functional/BlockContentSaveTest.php, line 29

Class

BlockContentSaveTest
Tests $block_content->save() for saving content.

Namespace

Drupal\Tests\block_content\Functional

Code

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