function DateFormatTest::setUp

Same name in other branches
  1. 8.9.x core/modules/system/tests/src/FunctionalJavascript/System/DateFormatTest.php \Drupal\Tests\system\FunctionalJavascript\System\DateFormatTest::setUp()
  2. 10 core/modules/system/tests/src/FunctionalJavascript/System/DateFormatTest.php \Drupal\Tests\system\FunctionalJavascript\System\DateFormatTest::setUp()
  3. 11.x 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 28

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.