protected function DateFormatsMachineNameTest::setUp in Drupal 10
Same name and namespace in other branches
- 8 core/modules/system/tests/src/Functional/System/DateFormatsMachineNameTest.php \Drupal\Tests\system\Functional\System\DateFormatsMachineNameTest::setUp()
- 9 core/modules/system/tests/src/Functional/System/DateFormatsMachineNameTest.php \Drupal\Tests\system\Functional\System\DateFormatsMachineNameTest::setUp()
Overrides BrowserTestBase::setUp
File
- core/
modules/ system/ tests/ src/ Functional/ System/ DateFormatsMachineNameTest.php, line 22
Class
- DateFormatsMachineNameTest
- Tests validity of date format machine names.
Namespace
Drupal\Tests\system\Functional\SystemCode
protected function setUp() : void {
parent::setUp();
// Create a new administrator user for the test.
$admin = $this
->drupalCreateUser([
'administer site configuration',
]);
$this
->drupalLogin($admin);
}