You are here

public function ExporterTest::setUp in Tome 8

Overrides TestBase::setUp

File

modules/tome_sync/tests/src/Kernel/ExporterTest.php, line 27

Class

ExporterTest
Tests that the exporter works.

Namespace

Drupal\Tests\tome_sync\Kernel

Code

public function setUp() {
  parent::setUp();
  $this
    ->installSchema('tome_sync', [
    'tome_sync_content_hash',
  ]);
  if (\Drupal::entityTypeManager()
    ->hasDefinition('path_alias')) {
    $this
      ->installEntitySchema('path_alias');
  }
}