function BlockContentListTest::setUp
Same name in other branches
- 10 core/modules/block_content/tests/src/Functional/BlockContentListTest.php \Drupal\Tests\block_content\Functional\BlockContentListTest::setUp()
Overrides BlockContentTestBase::setUp
File
-
core/
modules/ block_content/ tests/ src/ Functional/ BlockContentListTest.php, line 61
Class
- BlockContentListTest
- Tests the 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.