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. 10 core/modules/block_content/tests/src/Functional/Views/BlockContentWizardTest.php \Drupal\Tests\block_content\Functional\Views\BlockContentWizardTest::setUp()
  3. 11.x 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 27

Class

BlockContentWizardTest
Tests block_content wizard and generic entity integration.

Namespace

Drupal\Tests\block_content\Functional\Views

Code

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

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