function EntityTranslationNormalizeTest::setUp

Same name and namespace in other branches
  1. 9 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() {
    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.