function MigrateVocabularyEntityDisplayTest::testVocabularyEntityDisplay

Tests the Drupal 6 vocabulary-node type association to Drupal 8 migration.

File

core/modules/forum/tests/src/Kernel/Migrate/d6/MigrateVocabularyEntityDisplayTest.php, line 57

Class

MigrateVocabularyEntityDisplayTest
Vocabulary entity display migration.

Namespace

Drupal\Tests\forum\Kernel\Migrate\d6

Code

public function testVocabularyEntityDisplay() : void {
  $this->assertEntity('node.forum.default');
  $this->assertComponent('node.forum.default', 'taxonomy_forums', 'entity_reference_label', 'hidden', 20);
  $this->assertComponent('node.forum.default', 'field_trees', 'entity_reference_label', 'hidden', 20);
  $this->assertComponent('node.forum.default', 'field_freetags', 'entity_reference_label', 'hidden', 20);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.