You are here

protected function ParagraphsImportExportTest::setUp in Acquia Content Hub 8.2

Throws

\Exception

Overrides ImportExportTestBase::setUp

File

tests/src/Kernel/ParagraphsImportExportTest.php, line 50

Class

ParagraphsImportExportTest
Tests that paragraphs are properly exported and imported.

Namespace

Drupal\Tests\acquia_contenthub\Kernel

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('user');
  $this
    ->installSchema('user', [
    'users_data',
  ]);
  $this
    ->installEntitySchema('node');
  $this
    ->installEntitySchema('file');
  $this
    ->installSchema('file', [
    'file_usage',
  ]);
  $this
    ->installEntitySchema('paragraph');
  \Drupal::moduleHandler()
    ->loadInclude('paragraphs', 'install');
}