You are here

protected function EntityFormDisplayDependencyCollectorTest::setUp in Dependency Calculation 8

Overrides KernelTestBase::setUp

File

tests/src/Kernel/EventSubscriber/DependencyCollector/EntityFormDisplayDependencyCollectorTest.php, line 51

Class

EntityFormDisplayDependencyCollectorTest
Class EntityFormDisplayDependencyCollectorTest.

Namespace

Drupal\Tests\depcalc\Kernel\EventSubscriber\DependencyCollector

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installConfig('node');
  $this
    ->installConfig('field');
  $this
    ->installConfig('filter');
  $this
    ->installSchema('node', 'node_access');
  $this
    ->installEntitySchema('user');
  $this
    ->installEntitySchema('node');
  $this
    ->installEntitySchema('path_alias');
  $this->calculator = \Drupal::service('entity.dependency.calculator');
}