function NodePostSettingsTest::setUp
Same name in other branches
- 8.9.x core/modules/node/tests/src/Functional/NodePostSettingsTest.php \Drupal\Tests\node\Functional\NodePostSettingsTest::setUp()
- 10 core/modules/node/tests/src/Functional/NodePostSettingsTest.php \Drupal\Tests\node\Functional\NodePostSettingsTest::setUp()
- 11.x core/modules/node/tests/src/Functional/NodePostSettingsTest.php \Drupal\Tests\node\Functional\NodePostSettingsTest::setUp()
Overrides NodeTestBase::setUp
File
-
core/
modules/ node/ tests/ src/ Functional/ NodePostSettingsTest.php, line 20
Class
- NodePostSettingsTest
- Tests the node setting for displaying author and date information.
Namespace
Drupal\Tests\node\FunctionalCode
protected function setUp() : void {
parent::setUp();
$web_user = $this->drupalCreateUser([
'create page content',
'administer content types',
'access user profiles',
]);
$this->drupalLogin($web_user);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.