function PathAdminTest::setUp
Same name in other branches
- 9 core/modules/path/tests/src/Functional/PathAdminTest.php \Drupal\Tests\path\Functional\PathAdminTest::setUp()
- 10 core/modules/path/tests/src/Functional/PathAdminTest.php \Drupal\Tests\path\Functional\PathAdminTest::setUp()
- 11.x core/modules/path/tests/src/Functional/PathAdminTest.php \Drupal\Tests\path\Functional\PathAdminTest::setUp()
Overrides PathTestBase::setUp
File
-
core/
modules/ path/ tests/ src/ Functional/ PathAdminTest.php, line 24
Class
- PathAdminTest
- Tests the Path admin UI.
Namespace
Drupal\Tests\path\FunctionalCode
protected function setUp() {
parent::setUp();
// Create test user and log in.
$web_user = $this->drupalCreateUser([
'create page content',
'edit own page content',
'administer url aliases',
'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.