You are here

protected function ContentEntityHasChangesTest::setUp in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/Core/Entity/ContentEntityHasChangesTest.php \Drupal\KernelTests\Core\Entity\ContentEntityHasChangesTest::setUp()
  2. 9 core/tests/Drupal/KernelTests/Core/Entity/ContentEntityHasChangesTest.php \Drupal\KernelTests\Core\Entity\ContentEntityHasChangesTest::setUp()

File

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

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');
  $this
    ->installSchema('system', 'sequences');
}