Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / content_translation / tests / src / Kernel / Migrate / d6 / MigrateTaxonomyTermTranslationTest.php
index 57d7ccc5cfcbf16bb4b06e933e7fe6f15aad30f5..3e32406d28db764bb783c90f2236ffe3ee039e88 100644 (file)
@@ -20,6 +20,8 @@ class MigrateTaxonomyTermTranslationTest extends MigrateDrupal6TestBase {
     'content_translation',
     'language',
     'menu_ui',
+    // Required for translation migrations.
+    'migrate_drupal_multilingual',
     'node',
     'taxonomy',
   ];
@@ -78,7 +80,7 @@ class MigrateTaxonomyTermTranslationTest extends MigrateDrupal6TestBase {
     $this->assertInstanceOf(TermInterface::class, $entity);
     $this->assertSame($expected_language, $entity->language()->getId());
     $this->assertSame($expected_label, $entity->label());
-    $this->assertSame($expected_vid, $entity->getVocabularyId());
+    $this->assertSame($expected_vid, $entity->bundle());
     $this->assertSame($expected_description, $entity->getDescription());
     $this->assertSame($expected_format, $entity->getFormat());
     $this->assertSame($expected_weight, $entity->getWeight());