function BlockContentWizardTest::setUp

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

Overrides BlockContentTestBase::setUp

File

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

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',
    ]));
}

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