You are here

protected function EntityMatcherDeriverTest::setUp in Linkit 8.5

Overrides LinkitKernelTestBase::setUp

File

tests/src/Kernel/EntityMatcherDeriverTest.php, line 27

Class

EntityMatcherDeriverTest
Tests the entity matcher deriver.

Namespace

Drupal\Tests\linkit\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installConfig([
    'block_content',
  ]);
  $this
    ->installEntitySchema('block_content');
  $this
    ->installEntitySchema('node');
  $this
    ->installConfig([
    'field',
    'node',
  ]);
  $this->manager = $this->container
    ->get('plugin.manager.linkit.matcher');
}