You are here

protected function EntityTypeWithoutLanguageFormTest::setUp in Drupal 9

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

Overrides BrowserTestBase::setUp

File

core/modules/language/tests/src/Functional/EntityTypeWithoutLanguageFormTest.php, line 35

Class

EntityTypeWithoutLanguageFormTest
Tests entity type without language support.

Namespace

Drupal\Tests\language\Functional

Code

protected function setUp() : void {
  parent::setUp();

  // Create and log in administrative user.
  $admin_user = $this
    ->drupalCreateUser([
    'administer languages',
  ]);
  $this
    ->drupalLogin($admin_user);
}