summaryrefslogtreecommitdiffstats
path: root/core/modules/migrate_drupal
diff options
context:
space:
mode:
authorNathaniel Catchpole2018-06-28 22:11:06 (GMT)
committerNathaniel Catchpole2018-06-28 22:11:06 (GMT)
commitd1a1cc5b39ac934bea324392f51c37cbcd8adea2 (patch)
tree7fae8c706b388ba42d5530addf918bf3ef1f52c8 /core/modules/migrate_drupal
parent246e95d4f5376c7b3d0014754e90f5f92aedd5fb (diff)
Issue #2979916 by maxocub, masipila, phenaproxima: D7 comment field values are not migrated
Diffstat (limited to 'core/modules/migrate_drupal')
-rw-r--r--core/modules/migrate_drupal/tests/fixtures/drupal7.php32
1 files changed, 32 insertions, 0 deletions
diff --git a/core/modules/migrate_drupal/tests/fixtures/drupal7.php b/core/modules/migrate_drupal/tests/fixtures/drupal7.php
index 4228491..3bd7e70 100644
--- a/core/modules/migrate_drupal/tests/fixtures/drupal7.php
+++ b/core/modules/migrate_drupal/tests/fixtures/drupal7.php
@@ -3096,6 +3096,18 @@ $connection->insert('entity_translation')
'changed',
))
->values(array(
+ 'entity_type' => 'comment',
+ 'entity_id' => '1',
+ 'revision_id' => '1',
+ 'language' => 'und',
+ 'source' => '',
+ 'uid' => '1',
+ 'status' => '1',
+ 'translate' => '0',
+ 'created' => '1421727536',
+ 'changed' => '1421727536',
+))
+->values(array(
'entity_type' => 'user',
'entity_id' => '2',
'revision_id' => '2',
@@ -5769,6 +5781,16 @@ $connection->insert('field_data_field_integer')
'field_integer_value',
))
->values(array(
+ 'entity_type' => 'comment',
+ 'bundle' => 'comment_node_test_content_type',
+ 'deleted' => '0',
+ 'entity_id' => '1',
+ 'revision_id' => '1',
+ 'language' => 'und',
+ 'delta' => '0',
+ 'field_integer_value' => '1000000',
+))
+->values(array(
'entity_type' => 'node',
'bundle' => 'test_content_type',
'deleted' => '0',
@@ -9512,6 +9534,16 @@ $connection->insert('field_revision_field_integer')
'field_integer_value',
))
->values(array(
+ 'entity_type' => 'comment',
+ 'bundle' => 'comment_node_test_content_type',
+ 'deleted' => '0',
+ 'entity_id' => '1',
+ 'revision_id' => '1',
+ 'language' => 'und',
+ 'delta' => '0',
+ 'field_integer_value' => '1000000',
+))
+->values(array(
'entity_type' => 'node',
'bundle' => 'test_content_type',
'deleted' => '0',