protected function UserAdminLanguageTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/user/tests/src/Functional/UserAdminLanguageTest.php \Drupal\Tests\user\Functional\UserAdminLanguageTest::setUp()
Overrides BrowserTestBase::setUp
File
- core/
modules/ user/ tests/ src/ Functional/ UserAdminLanguageTest.php, line 41
Class
- UserAdminLanguageTest
- Tests users' ability to change their own administration language.
Namespace
Drupal\Tests\user\FunctionalCode
protected function setUp() {
parent::setUp();
// User to add and remove language.
$this->adminUser = $this
->drupalCreateUser([
'administer languages',
'access administration pages',
]);
// User to check non-admin access.
$this->regularUser = $this
->drupalCreateUser();
}