protected function PathAliasTest::setUp in Multiversion 8
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ PathAliasTest.php, line 25
Class
- PathAliasTest
- @group multiversion
Namespace
Drupal\Tests\multiversion\FunctionalCode
protected function setUp() {
parent::setUp();
if ($this->profile != 'standard') {
$this
->drupalCreateContentType([
'type' => 'article',
'name' => 'Article',
]);
$this
->drupalCreateContentType([
'type' => 'page',
'name' => 'Page',
]);
}
// Create test user and log in.
$web_user = $this
->drupalCreateUser([
'administer url aliases',
'create url aliases',
'administer workspaces',
]);
$this
->drupalLogin($web_user);
}