function PathNodeFormTest::setUp

Same name in other branches
  1. 9 core/modules/path/tests/src/Functional/PathNodeFormTest.php \Drupal\Tests\path\Functional\PathNodeFormTest::setUp()
  2. 8.9.x core/modules/path/tests/src/Functional/PathNodeFormTest.php \Drupal\Tests\path\Functional\PathNodeFormTest::setUp()
  3. 10 core/modules/path/tests/src/Functional/PathNodeFormTest.php \Drupal\Tests\path\Functional\PathNodeFormTest::setUp()

Overrides PathTestBase::setUp

File

core/modules/path/tests/src/Functional/PathNodeFormTest.php, line 27

Class

PathNodeFormTest
Tests the Path Node form UI.

Namespace

Drupal\Tests\path\Functional

Code

protected function setUp() : void {
    parent::setUp();
    // Create test user and log in.
    $web_user = $this->drupalCreateUser([
        'create page content',
        'create url aliases',
    ]);
    $this->drupalLogin($web_user);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.