Skip to content
Snippets Groups Projects
Commit 9ec469a0 authored by catch's avatar catch
Browse files

Issue #3138795 by quietone, sja112: d6_term_node_revision references non-existent migration

parent d342a188
No related branches found
No related tags found
7 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!1012Issue #3226887: Hreflang on non-canonical content pages,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10,!596Issue #3046532: deleting an entity reference field, used in a contextual view, makes the whole site unrecoverable,!496Issue #2463967: Use .user.ini file for PHP settings,!144Issue #2666286: Clean up menu_ui to conform to Drupal coding standards,!16Draft: Resolve #2081585 "History storage"
......@@ -310,7 +310,6 @@ contrained
contribs
controlgroup
coord
copmplete
corefake
coretest
corge
......
......@@ -12,7 +12,7 @@ process:
-
plugin: migration_lookup
migration:
- d6_node_copmplete
- d6_node_complete
- d6_node_revision
source: vid
-
......
......@@ -64,4 +64,16 @@ public function testTermNode() {
$this->assertSame('3', $node->field_vocabulary_2_i_1_[1]->target_id);
}
/**
* Tests the Drupal 6 term-node association to Drupal 8 node revisions.
*/
public function testTermNodeRevision() {
$this->executeMigrations(['d6_term_node_revision']);
$node = \Drupal::entityTypeManager()->getStorage('node')->loadRevision(2001);
$this->assertCount(2, $node->field_vocabulary_3_i_2_);
$this->assertSame('4', $node->field_vocabulary_3_i_2_[0]->target_id);
$this->assertSame('5', $node->field_vocabulary_3_i_2_[1]->target_id);
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment