function DateFormatsMachineNameTest::setUp
Same name in other branches
- 8.9.x core/modules/system/tests/src/Functional/System/DateFormatsMachineNameTest.php \Drupal\Tests\system\Functional\System\DateFormatsMachineNameTest::setUp()
- 10 core/modules/system/tests/src/Functional/System/DateFormatsMachineNameTest.php \Drupal\Tests\system\Functional\System\DateFormatsMachineNameTest::setUp()
- 11.x 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);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.