public function ParagraphsTypeMigrationTest::testParagraphsTypeMigration in Paragraphs 8
Test if the paragraph/fc types were brought over as a paragraph.
File
- tests/
src/ Kernel/ migrate/ ParagraphsTypeMigrationTest.php, line 15
Class
- ParagraphsTypeMigrationTest
- Test Migration of paragraph and field collection bundles.
Namespace
Drupal\Tests\paragraphs\Kernel\migrateCode
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');
}