protected function NodePostSettingsTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 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 18
Class
- NodePostSettingsTest
- Tests that the post information (submitted by Username on date) text displays appropriately.
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);
}