protected function RealnameBasicTest::setUp in Real Name 8
Same name and namespace in other branches
- 2.x tests/src/Functional/RealnameBasicTest.php \Drupal\Tests\realname\Functional\RealnameBasicTest::setUp()
Overrides BrowserTestBase::setUp
File
- tests/
src/ Functional/ RealnameBasicTest.php, line 38
Class
- RealnameBasicTest
- Test basic functionality of Realname module.
Namespace
Drupal\Tests\realname\FunctionalCode
protected function setUp() {
parent::setUp();
$permissions = [
'access administration pages',
'administer modules',
'administer realname',
'administer site configuration',
'administer user fields',
'administer user form display',
'administer user display',
'administer users',
];
$this->adminUser = $this
->drupalCreateUser($permissions);
$this
->drupalLogin($this->adminUser);
}