You are here

protected function ContentTranslationPermissionsTest::setUp in Drupal 9

Overrides KernelTestBase::setUp

File

core/modules/content_translation/tests/src/Kernel/ContentTranslationPermissionsTest.php, line 27

Class

ContentTranslationPermissionsTest
Tests the content translation dynamic permissions.

Namespace

Drupal\Tests\content_translation\Kernel

Code

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();
}