installSchema('node', ['node_access']); $this->migrateContent(['revisions']); $this->migrateTaxonomy(); $this->executeMigrations(['d6_term_node', 'd6_term_node_revision']); } /** * Tests the Drupal 6 term-node revision association to Drupal 8 migration. */ public function testTermRevisionNode() { $node = \Drupal::entityManager()->getStorage('node')->loadRevision(2); $this->assertIdentical(2, count($node->vocabulary_3_i_2_)); $this->assertIdentical('4', $node->vocabulary_3_i_2_[0]->target_id); $this->assertIdentical('5', $node->vocabulary_3_i_2_[1]->target_id); } }