You are here

protected function LinkFieldUnserializerTest::setUp in Acquia Content Hub 8.2

Throws

\Exception

Overrides KernelTestBase::setUp

File

tests/src/Kernel/EventSubscriber/UnserializeContentField/LinkFieldUnserializerTest.php, line 50

Class

LinkFieldUnserializerTest
Test that links are handled correctly during unserialization.

Namespace

Drupal\Tests\acquia_contenthub\Kernel\EventSubscriber\UnserializeContentField

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('field_config');
  $this
    ->installEntitySchema('taxonomy_term');
  $this
    ->installConfig([
    'system',
  ]);
  $this->dispatcher = $this->container
    ->get('event_dispatcher');
}