function ContentEntityHasChangesTest::setUp

Same name in other branches
  1. 9 core/tests/Drupal/KernelTests/Core/Entity/ContentEntityHasChangesTest.php \Drupal\KernelTests\Core\Entity\ContentEntityHasChangesTest::setUp()
  2. 8.9.x core/tests/Drupal/KernelTests/Core/Entity/ContentEntityHasChangesTest.php \Drupal\KernelTests\Core\Entity\ContentEntityHasChangesTest::setUp()
  3. 10 core/tests/Drupal/KernelTests/Core/Entity/ContentEntityHasChangesTest.php \Drupal\KernelTests\Core\Entity\ContentEntityHasChangesTest::setUp()

Overrides KernelTestBase::setUp

File

core/tests/Drupal/KernelTests/Core/Entity/ContentEntityHasChangesTest.php, line 32

Class

ContentEntityHasChangesTest
Tests ContentEntityBase::hasTranslationChanges().

Namespace

Drupal\KernelTests\Core\Entity

Code

protected function setUp() : void {
    parent::setUp();
    $this->installEntitySchema('user');
    $this->installEntitySchema('entity_test_mulrev_changed_rev');
}

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