protected function LocaleUpdateInterfaceTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 core/modules/locale/tests/src/Functional/LocaleUpdateInterfaceTest.php \Drupal\Tests\locale\Functional\LocaleUpdateInterfaceTest::setUp()
Overrides LocaleUpdateBase::setUp
File
- core/
modules/ locale/ tests/ src/ Functional/ LocaleUpdateInterfaceTest.php, line 30
Class
- LocaleUpdateInterfaceTest
- Tests for the user interface of project interface translations.
Namespace
Drupal\Tests\locale\FunctionalCode
protected function setUp() : void {
parent::setUp();
$admin_user = $this
->drupalCreateUser([
'administer modules',
'administer site configuration',
'administer languages',
'access administration pages',
'translate interface',
]);
$this
->drupalLogin($admin_user);
}