protected function LocalePluralFormatTest::setUp in Drupal 9
Same name and namespace in other branches
- 8 core/modules/locale/tests/src/Functional/LocalePluralFormatTest.php \Drupal\Tests\locale\Functional\LocalePluralFormatTest::setUp()
Overrides BrowserTestBase::setUp
File
- core/
modules/ locale/ tests/ src/ Functional/ LocalePluralFormatTest.php, line 39
Class
- LocalePluralFormatTest
- Tests plural handling for various languages.
Namespace
Drupal\Tests\locale\FunctionalCode
protected function setUp() : void {
parent::setUp();
$this->adminUser = $this
->drupalCreateUser([
'administer languages',
'translate interface',
'access administration pages',
]);
$this
->drupalLogin($this->adminUser);
}