You are here

protected function UnsavedUserFieldAccessTest::setUp in User protect 8

Overrides BrowserTestBase::setUp

File

tests/src/Functional/UnsavedUserFieldAccessTest.php, line 27

Class

UnsavedUserFieldAccessTest
Tests field access for an unsaved user.

Namespace

Drupal\Tests\userprotect\Functional

Code

protected function setUp() {
  parent::setUp();
  $this->account = $this
    ->drupalCreateUser([
    'administer users',
    'administer permissions',
  ]);
  $this
    ->drupalLogin($this->account);
}