You are here

protected function NodePostSettingsTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 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\Functional

Code

protected function setUp() {
  parent::setUp();
  $web_user = $this
    ->drupalCreateUser([
    'create page content',
    'administer content types',
    'access user profiles',
  ]);
  $this
    ->drupalLogin($web_user);
}