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\FunctionalCode
protected function setUp() {
parent::setUp();
$this->account = $this
->drupalCreateUser([
'administer users',
'administer permissions',
]);
$this
->drupalLogin($this->account);
}