ParagraphsTypeMigrationTest.php in Paragraphs 8
File
tests/src/Kernel/migrate/ParagraphsTypeMigrationTest.php
View source
<?php
namespace Drupal\Tests\paragraphs\Kernel\migrate;
class ParagraphsTypeMigrationTest extends ParagraphsMigrationTestBase {
public function testParagraphsTypeMigration() {
$this
->executeMigration('d7_field_collection_type');
$this
->executeMigration('d7_paragraphs_type');
$this
->assertParagraphBundleExists('field_collection_test', 'Field collection test');
$this
->assertParagraphBundleExists('paragraph_bundle_one', 'Paragraph Bundle One');
$this
->assertParagraphBundleExists('paragraph_bundle_two', 'Paragraph Bundle Two');
}
}