You are here

public function ContentEntitySourceUntranslatableTargetsUnitTest::setUp in Translation Management Tool 8

Overrides ContentEntityTestBase::setUp

File

sources/content/tests/src/Kernel/ContentEntitySourceUntranslatableTargetsUnitTest.php, line 36

Class

ContentEntitySourceUntranslatableTargetsUnitTest
Content entity Source with untranslatable target types unit tests.

Namespace

Drupal\Tests\tmgmt_content\Kernel

Code

public function setUp() : void {
  parent::setUp();
  $this
    ->installEntitySchema('entity_test_composite');
  $this
    ->installSchema('node', [
    'node_access',
  ]);
  $this->container
    ->get('content_translation.manager')
    ->setEnabled('entity_test_composite', 'entity_test_composite', FALSE);
}