You are here

protected function UserTokenReplaceTest::setUp in Drupal 8

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

Overrides BrowserTestBase::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() {
  parent::setUp();
  ConfigurableLanguage::createFromLangcode('de')
    ->save();
}