You are here

protected function EntityLoadingTest::setUp in Multiversion 8

Same name and namespace in other branches
  1. 8.2 tests/src/Kernel/EntityLoadingTest.php \Drupal\Tests\multiversion\Kernel\EntityLoadingTest::setUp()

Overrides KernelTestBase::setUp

File

tests/src/Kernel/EntityLoadingTest.php, line 24

Class

EntityLoadingTest
@group multiversion

Namespace

Drupal\Tests\multiversion\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('workspace');
  $this
    ->installEntitySchema('node');
  $this
    ->installEntitySchema('user');
  $this
    ->installConfig('multiversion');
  $this
    ->installSchema('key_value', 'key_value_sorted');
  $multiversion_manager = $this->container
    ->get('multiversion.manager');
  $multiversion_manager
    ->enableEntityTypes();
}