function LanguageConfigSchemaTest::setUp

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

Overrides BrowserTestBase::setUp

File

core/modules/language/tests/src/Functional/LanguageConfigSchemaTest.php, line 39

Class

LanguageConfigSchemaTest
Ensures the language config schema is correct.

Namespace

Drupal\Tests\language\Functional

Code

protected function setUp() : void {
    parent::setUp();
    // Create user.
    $this->adminUser = $this->drupalCreateUser([
        'administer languages',
    ]);
    $this->drupalLogin($this->adminUser);
}

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