function LocaleFileSystemFormTest::setUp

Same name in other branches
  1. 9 core/modules/locale/tests/src/Functional/LocaleFileSystemFormTest.php \Drupal\Tests\locale\Functional\LocaleFileSystemFormTest::setUp()
  2. 8.9.x core/modules/locale/tests/src/Functional/LocaleFileSystemFormTest.php \Drupal\Tests\locale\Functional\LocaleFileSystemFormTest::setUp()
  3. 11.x core/modules/locale/tests/src/Functional/LocaleFileSystemFormTest.php \Drupal\Tests\locale\Functional\LocaleFileSystemFormTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/locale/tests/src/Functional/LocaleFileSystemFormTest.php, line 29

Class

LocaleFileSystemFormTest
Tests the locale functionality in the altered file settings form.

Namespace

Drupal\Tests\locale\Functional

Code

protected function setUp() : void {
    parent::setUp();
    $account = $this->drupalCreateUser([
        'administer site configuration',
    ]);
    $this->drupalLogin($account);
}

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