You are here

protected function UserTokenReplaceTest::setUp in Drupal 10

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

File

core/modules/user/tests/src/Functional/UserTokenReplaceTest.php, line 35

Class

UserTokenReplaceTest
Generates text using placeholders for dummy content to check user token replacement.

Namespace

Drupal\Tests\user\Functional

Code

protected function setUp() : void {
  parent::setUp();
  ConfigurableLanguage::createFromLangcode('de')
    ->save();
}