You are here

protected function LanguageConfigurationElementTest::setUp in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/language/tests/src/Functional/LanguageConfigurationElementTest.php \Drupal\Tests\language\Functional\LanguageConfigurationElementTest::setUp()
  2. 10 core/modules/language/tests/src/Functional/LanguageConfigurationElementTest.php \Drupal\Tests\language\Functional\LanguageConfigurationElementTest::setUp()

Overrides BrowserTestBase::setUp

File

core/modules/language/tests/src/Functional/LanguageConfigurationElementTest.php, line 36

Class

LanguageConfigurationElementTest
Tests the features of the language configuration element field.

Namespace

Drupal\Tests\language\Functional

Code

protected function setUp() {
  parent::setUp();
  $user = $this
    ->drupalCreateUser([
    'access administration pages',
    'administer languages',
    'administer content types',
  ]);
  $this
    ->drupalLogin($user);
}