protected function UserTranslationUITest::setUp in Drupal 9
Same name and namespace in other branches
- 8 core/modules/user/tests/src/Functional/UserTranslationUITest.php \Drupal\Tests\user\Functional\UserTranslationUITest::setUp()
Overrides ContentTranslationTestBase::setUp
File
- core/
modules/ user/ tests/ src/ Functional/ UserTranslationUITest.php, line 49
Class
- UserTranslationUITest
- Tests the User Translation UI.
Namespace
Drupal\Tests\user\FunctionalCode
protected function setUp() : void {
$this->entityTypeId = 'user';
$this->testLanguageSelector = FALSE;
$this->name = $this
->randomMachineName();
parent::setUp();
\Drupal::entityTypeManager()
->getStorage('user')
->resetCache();
}