function DateFormatTest::setUp

Same name and namespace in other branches
  1. 9 core/modules/system/tests/src/FunctionalJavascript/System/DateFormatTest.php \Drupal\Tests\system\FunctionalJavascript\System\DateFormatTest::setUp()
  2. 8.9.x core/modules/system/tests/src/FunctionalJavascript/System/DateFormatTest.php \Drupal\Tests\system\FunctionalJavascript\System\DateFormatTest::setUp()
  3. 10 core/modules/system/tests/src/FunctionalJavascript/System/DateFormatTest.php \Drupal\Tests\system\FunctionalJavascript\System\DateFormatTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/system/tests/src/FunctionalJavascript/System/DateFormatTest.php, line 30

Class

DateFormatTest
Tests that date formats UI with JavaScript enabled.

Namespace

Drupal\Tests\system\FunctionalJavascript\System

Code

protected function setUp() : void {
    parent::setUp();
    // Create admin user and log in admin user.
    $this->drupalLogin($this->drupalCreateUser([
        'administer site configuration',
    ]));
    $this->drupalPlaceBlock('local_actions_block');
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.