function CommentTypeTest::setUp
Sets the test up.
Overrides CommentTestBase::setUp
File
-
core/
modules/ comment/ tests/ src/ Functional/ CommentTypeTest.php, line 48
Class
- CommentTypeTest
- Ensures that comment type functions work correctly.
Namespace
Drupal\Tests\comment\FunctionalCode
protected function setUp() : void {
parent::setUp();
$this->drupalPlaceBlock('page_title_block');
$this->drupalPlaceBlock('system_breadcrumb_block');
$this->adminUser = $this->drupalCreateUser($this->permissions);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.