protected function WizardTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/comment/tests/src/Functional/Views/WizardTest.php \Drupal\Tests\comment\Functional\Views\WizardTest::setUp()
- 10 core/modules/comment/tests/src/Functional/Views/WizardTest.php \Drupal\Tests\comment\Functional\Views\WizardTest::setUp()
Overrides WizardTestBase::setUp
File
- core/
modules/ comment/ tests/ src/ Functional/ Views/ WizardTest.php, line 34
Class
- WizardTest
- Tests the comment module integration into the wizard.
Namespace
Drupal\Tests\comment\Functional\ViewsCode
protected function setUp($import_test_views = TRUE) {
parent::setUp($import_test_views);
$this
->drupalCreateContentType([
'type' => 'page',
'name' => t('Basic page'),
]);
// Add comment field to page node type.
$this
->addDefaultCommentField('node', 'page');
}