public function ParagraphContentMigrationTest::setUp

Overrides ParagraphsMigrationTestBase::setUp

File

paragraphs/tests/src/Kernel/migrate/ParagraphContentMigrationTest.php, line 45

Class

ParagraphContentMigrationTest
Test 'classic' Paragraph content migration.

Namespace

Drupal\Tests\paragraphs\Kernel\migrate

Code

public function setUp() : void {
  parent::setUp();
  $this
    ->installEntitySchema('file');
  $this
    ->installEntitySchema('node');
  $this
    ->installEntitySchema('paragraph');
  $this
    ->installEntitySchema('comment');
  $this
    ->installSchema('node', [
    'node_access',
  ]);
  $this
    ->installSchema('comment', [
    'comment_entity_statistics',
  ]);
  $this
    ->executeMigrationWithDependencies('d7_field_collection_revisions');
  $this
    ->executeMigrationWithDependencies('d7_paragraphs_revisions');
  $this
    ->executeMigrationWithDependencies('d7_node:paragraphs_test');
  $this
    ->prepareMigrations([
    'd7_node:article' => [],
    'd7_node:blog' => [],
    'd7_node:book' => [],
    'd7_node:forum' => [],
    'd7_node:test_content_type' => [],
  ]);
}