You are here

protected function ProfileTypeTest::setUp in Profile 8

Overrides ProfileTestBase::setUp

File

tests/src/Functional/ProfileTypeTest.php, line 18

Class

ProfileTypeTest
Tests the profile type UI.

Namespace

Drupal\Tests\profile\Functional

Code

protected function setUp() {
  parent::setUp();
  $this->adminUser = $this
    ->drupalCreateUser([
    'access user profiles',
    'administer profile',
    'administer profile types',
    'administer profile fields',
    'administer profile display',
  ]);
  $this
    ->drupalLogin($this->adminUser);
}