You are here

protected function DateFormatTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 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');
}