public function BlockInstanceTest::setUp in Collapsiblock 3.x
Same name and namespace in other branches
- 4.x tests/src/Functional/BlockInstanceTest.php \Drupal\Tests\collapsiblock\Functional\BlockInstanceTest::setUp()
Overrides CollapsiblockFunctionalTestBase::setUp
File
- tests/
src/ Functional/ BlockInstanceTest.php, line 29
Class
- BlockInstanceTest
- Test Collapsiblock settings on block instances.
Namespace
Drupal\Tests\collapsiblock\FunctionalCode
public function setUp() {
parent::setUp();
$this->collapsiblockBlockAdminUser = $this
->drupalCreateUser([
'administer blocks',
'access administration pages',
]);
$this->collapsiblockTestBlock = $this
->drupalPlaceBlock('system_powered_by_block');
}