You are here

protected function EntityTranslationNormalizeTest::setUp in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/hal/tests/src/Kernel/EntityTranslationNormalizeTest.php \Drupal\Tests\hal\Kernel\EntityTranslationNormalizeTest::setUp()

Overrides NormalizerTestBase::setUp

File

core/modules/hal/tests/src/Kernel/EntityTranslationNormalizeTest.php, line 27

Class

EntityTranslationNormalizeTest
Tests that translated nodes are correctly (de-)normalized.

Namespace

Drupal\Tests\hal\Kernel

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installSchema('system', [
    'sequences',
  ]);
  $this
    ->installConfig([
    'node',
    'content_translation',
  ]);
}