function CommentTypeTest::setUp
Same name and namespace in other branches
- 9 core/modules/comment/tests/src/Functional/CommentTypeTest.php \Drupal\Tests\comment\Functional\CommentTypeTest::setUp()
- 10 core/modules/comment/tests/src/Functional/CommentTypeTest.php \Drupal\Tests\comment\Functional\CommentTypeTest::setUp()
- 11.x core/modules/comment/tests/src/Functional/CommentTypeTest.php \Drupal\Tests\comment\Functional\CommentTypeTest::setUp()
Sets the test up.
Overrides CommentTestBase::setUp
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() {
parent::setUp();
$this->drupalPlaceBlock('page_title_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.