summaryrefslogtreecommitdiffstats
path: root/core/modules/migrate_drupal
diff options
context:
space:
mode:
authorAlex Pott2018-08-06 22:38:10 (GMT)
committerAlex Pott2018-08-06 22:39:18 (GMT)
commitabd11edbd0e9e92ef68e02ae9ff826b5d70bfb1c (patch)
tree05a5fd5b13ae43c1fb51d00e5f33af70f8909818 /core/modules/migrate_drupal
parentee4efcfb7784bb2002416051e0cff261dce0fd61 (diff)
Issue #2934799 by maxocub, Olarin, heddn, dww: d6_term_node_revision migration ignores a lot of items that it shouldn't
(cherry picked from commit d4eb909c2394adc1f9552bc1f19b98c2c0c3333f)
Diffstat (limited to 'core/modules/migrate_drupal')
-rw-r--r--core/modules/migrate_drupal/tests/fixtures/drupal6.php26
1 files changed, 13 insertions, 13 deletions
diff --git a/core/modules/migrate_drupal/tests/fixtures/drupal6.php b/core/modules/migrate_drupal/tests/fixtures/drupal6.php
index 5793fd3..d9b1c2c 100644
--- a/core/modules/migrate_drupal/tests/fixtures/drupal6.php
+++ b/core/modules/migrate_drupal/tests/fixtures/drupal6.php
@@ -44161,17 +44161,6 @@ $connection->insert('node_revisions')
'format' => '1',
))
->values(array(
- 'nid' => '1',
- 'vid' => '2',
- 'uid' => '2',
- 'title' => 'Test title rev 2',
- 'body' => 'body test rev 2',
- 'teaser' => 'teaser test rev 2',
- 'log' => 'modified rev 2',
- 'timestamp' => '1390095702',
- 'format' => '1',
-))
-->values(array(
'nid' => '2',
'vid' => '3',
'uid' => '1',
@@ -44402,6 +44391,17 @@ $connection->insert('node_revisions')
'timestamp' => '1520613305',
'format' => '1',
))
+->values(array(
+ 'nid' => '1',
+ 'vid' => '2001',
+ 'uid' => '2',
+ 'title' => 'Test title rev 2',
+ 'body' => 'body test rev 2',
+ 'teaser' => 'teaser test rev 2',
+ 'log' => 'modified rev 2',
+ 'timestamp' => '1390095702',
+ 'format' => '1',
+))
->execute();
$connection->schema()->createTable('node_type', array(
@@ -46835,12 +46835,12 @@ $connection->insert('term_node')
))
->values(array(
'nid' => '1',
- 'vid' => '2',
+ 'vid' => '2001',
'tid' => '4',
))
->values(array(
'nid' => '1',
- 'vid' => '2',
+ 'vid' => '2001',
'tid' => '5',
))
->values(array(