You are here

protected function BlockContentWizardTest::setUp in Drupal 10

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

Sets the test up.

Overrides BlockContentTestBase::setUp

File

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

Class

BlockContentWizardTest
Tests block_content wizard and generic entity integration.

Namespace

Drupal\Tests\block_content\Functional\Views

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->drupalLogin($this
    ->drupalCreateUser([
    'administer views',
  ]));
  $this
    ->createBlockContentType('Basic block');
}