protected function CommentTypeTest::setUp in Drupal 10
Same name and namespace in other branches
- 8 core/modules/comment/tests/src/Functional/CommentTypeTest.php \Drupal\Tests\comment\Functional\CommentTypeTest::setUp()
- 9 core/modules/comment/tests/src/Functional/CommentTypeTest.php \Drupal\Tests\comment\Functional\CommentTypeTest::setUp()
Sets the test up.
File
- core/
modules/ comment/ tests/ src/ Functional/ CommentTypeTest.php, line 46
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->adminUser = $this
->drupalCreateUser($this->permissions);
}