Loading core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentFieldInstanceTest.php +1 −0 Original line number Diff line number Diff line Loading @@ -77,6 +77,7 @@ public function testMigration() { $this->assertEntity('book', 'comment_node_book', 2, 1, 50, 0, TRUE, 1); $this->assertEntity('forum', 'comment_forum', 2, 1, 50, 0, TRUE, 1); $this->assertEntity('test_content_type', 'comment_node_test_content_type', 2, 1, 30, 0, TRUE, 1); $this->assertEntity('et', 'comment_node_et', 2, 1, 50, 0, FALSE, 1); } } core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentFieldTest.php +1 −0 Original line number Diff line number Diff line Loading @@ -51,6 +51,7 @@ public function testMigration() { $this->assertEntity('comment_node_book'); $this->assertEntity('comment_forum'); $this->assertEntity('comment_node_test_content_type'); $this->assertEntity('comment_node_et'); } } core/modules/migrate_drupal/tests/fixtures/drupal7.php +9 −0 Original line number Diff line number Diff line Loading @@ -5282,6 +5282,15 @@ 'data' => 'a:7:{s:5:"label";s:4:"tree";s:6:"widget";a:5:{s:6:"weight";s:2:"-3";s:4:"type";s:14:"text_textfield";s:6:"module";s:4:"text";s:6:"active";i:1;s:8:"settings";a:1:{s:4:"size";s:2:"60";}}s:8:"settings";a:3:{s:15:"text_processing";s:1:"0";s:18:"user_register_form";b:0;s:23:"entity_translation_sync";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"text_default";s:8:"settings";a:0:{}s:6:"module";s:4:"text";s:6:"weight";i:1;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '83', 'field_id' => '54', 'field_name' => 'comment_body', 'entity_type' => 'comment', 'bundle' => 'comment_node_et', 'data' => 'a:6:{s:5:"label";s:7:"Comment";s:8:"settings";a:2:{s:15:"text_processing";i:1;s:18:"user_register_form";b:0;}s:8:"required";b:1;s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:6:"hidden";s:4:"type";s:12:"text_default";s:6:"weight";i:0;s:8:"settings";a:0:{}s:6:"module";s:4:"text";}}s:6:"widget";a:4:{s:4:"type";s:13:"text_textarea";s:8:"settings";a:1:{s:4:"rows";i:5;}s:6:"weight";i:0;s:6:"module";s:4:"text";}s:11:"description";s:0:"";}', 'deleted' => '0', )) ->execute(); $connection->schema()->createTable('field_data_body', array( 'fields' => array( Loading
core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentFieldInstanceTest.php +1 −0 Original line number Diff line number Diff line Loading @@ -77,6 +77,7 @@ public function testMigration() { $this->assertEntity('book', 'comment_node_book', 2, 1, 50, 0, TRUE, 1); $this->assertEntity('forum', 'comment_forum', 2, 1, 50, 0, TRUE, 1); $this->assertEntity('test_content_type', 'comment_node_test_content_type', 2, 1, 30, 0, TRUE, 1); $this->assertEntity('et', 'comment_node_et', 2, 1, 50, 0, FALSE, 1); } }
core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentFieldTest.php +1 −0 Original line number Diff line number Diff line Loading @@ -51,6 +51,7 @@ public function testMigration() { $this->assertEntity('comment_node_book'); $this->assertEntity('comment_forum'); $this->assertEntity('comment_node_test_content_type'); $this->assertEntity('comment_node_et'); } }
core/modules/migrate_drupal/tests/fixtures/drupal7.php +9 −0 Original line number Diff line number Diff line Loading @@ -5282,6 +5282,15 @@ 'data' => 'a:7:{s:5:"label";s:4:"tree";s:6:"widget";a:5:{s:6:"weight";s:2:"-3";s:4:"type";s:14:"text_textfield";s:6:"module";s:4:"text";s:6:"active";i:1;s:8:"settings";a:1:{s:4:"size";s:2:"60";}}s:8:"settings";a:3:{s:15:"text_processing";s:1:"0";s:18:"user_register_form";b:0;s:23:"entity_translation_sync";b:0;}s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:5:"above";s:4:"type";s:12:"text_default";s:8:"settings";a:0:{}s:6:"module";s:4:"text";s:6:"weight";i:1;}}s:8:"required";i:0;s:11:"description";s:0:"";s:13:"default_value";N;}', 'deleted' => '0', )) ->values(array( 'id' => '83', 'field_id' => '54', 'field_name' => 'comment_body', 'entity_type' => 'comment', 'bundle' => 'comment_node_et', 'data' => 'a:6:{s:5:"label";s:7:"Comment";s:8:"settings";a:2:{s:15:"text_processing";i:1;s:18:"user_register_form";b:0;}s:8:"required";b:1;s:7:"display";a:1:{s:7:"default";a:5:{s:5:"label";s:6:"hidden";s:4:"type";s:12:"text_default";s:6:"weight";i:0;s:8:"settings";a:0:{}s:6:"module";s:4:"text";}}s:6:"widget";a:4:{s:4:"type";s:13:"text_textarea";s:8:"settings";a:1:{s:4:"rows";i:5;}s:6:"weight";i:0;s:6:"module";s:4:"text";}s:11:"description";s:0:"";}', 'deleted' => '0', )) ->execute(); $connection->schema()->createTable('field_data_body', array( 'fields' => array(