function EntityTranslationNormalizeTest::setUp

Same name in other branches
  1. 8.9.x 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 28

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',
    ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.