protected function PathMediaFormTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 core/modules/path/tests/src/Functional/PathMediaFormTest.php \Drupal\Tests\path\Functional\PathMediaFormTest::setUp()
Overrides PathTestBase::setUp
File
- core/
modules/ path/ tests/ src/ Functional/ PathMediaFormTest.php, line 27
Class
- PathMediaFormTest
- Tests the path media form UI.
Namespace
Drupal\Tests\path\FunctionalCode
protected function setUp() : void {
parent::setUp();
// Create test user and log in.
$web_user = $this
->drupalCreateUser([
'create media',
'create url aliases',
]);
$this
->drupalLogin($web_user);
}