function BlockContentListViewsTest::setUp
Same name in other branches
- 11.x core/modules/block_content/tests/src/Functional/BlockContentListViewsTest.php \Drupal\Tests\block_content\Functional\BlockContentListViewsTest::setUp()
Overrides BlockContentTestBase::setUp
File
-
core/
modules/ block_content/ tests/ src/ Functional/ BlockContentListViewsTest.php, line 64
Class
- BlockContentListViewsTest
- Tests the Views-powered listing of content blocks.
Namespace
Drupal\Tests\block_content\FunctionalCode
protected function setUp() : void {
parent::setUp();
$this->baseUser1 = $this->drupalCreateUser([
'access block library',
]);
$this->baseUser2 = $this->drupalCreateUser([
'access block library',
'create basic block content',
'edit any basic block content',
'delete any basic block content',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.