function ContentTranslationConcurrencyTest::setUp
Same name and namespace in other branches
- main core/modules/content_translation/tests/src/Kernel/ContentTranslationConcurrencyTest.php \Drupal\Tests\content_translation\Kernel\ContentTranslationConcurrencyTest::setUp()
Overrides KernelTestBase::setUp
File
-
core/
modules/ content_translation/ tests/ src/ Kernel/ ContentTranslationConcurrencyTest.php, line 35
Class
- ContentTranslationConcurrencyTest
- Tests concurrency in the content translation controller.
Namespace
Drupal\Tests\content_translation\KernelCode
protected function setUp() : void {
parent::setUp();
$this->installEntitySchema('entity_test_mul');
$this->installEntitySchema('entity_test_mul_with_bundle');
EntityTestMulBundle::create([
'id' => 'test',
'label' => 'Test label',
'description' => 'My test description',
])->save();
ConfigurableLanguage::createFromLangcode('fr')->save();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.