You are here

protected function EntityEmbedCollectorTest::setUp in Dependency Calculation 8

Overrides EntityEmbedFilterTestBase::setUp

File

tests/src/Kernel/EventSubscriber/DependencyCollector/EntityEmbedCollectorTest.php, line 53

Class

EntityEmbedCollectorTest
Class EntityEmbedCollectorTest.

Namespace

Drupal\Tests\depcalc\Kernel\EventSubscriber\DependencyCollector

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('path_alias');
  $this
    ->drupalCreateNode([
    'title' => 'Embed Test Node 2',
    'uuid' => static::EMBEDDED_ENTITY_UUID_2,
  ]);
  $this->calculator = \Drupal::service('entity.dependency.calculator');
}