function MigrateTaxonomyVocabularyTest::testTaxonomyVocabulary
Tests the Drupal 7 taxonomy vocabularies to Drupal 8 migration.
Overrides MigrateTaxonomyVocabularyTest::testTaxonomyVocabulary
File
-
core/
modules/ forum/ tests/ src/ Kernel/ Migrate/ d7/ MigrateTaxonomyVocabularyTest.php, line 34
Class
- MigrateTaxonomyVocabularyTest
- Migrate forum vocabulary to taxonomy.vocabulary.*.yml.
Namespace
Drupal\Tests\forum\Kernel\Migrate\d7Code
public function testTaxonomyVocabulary() : void {
$this->assertEntity('tags', 'Tags', 'Use tags to group articles on similar topics into categories.', 0);
$this->assertEntity('forums', 'Subject of discussion', 'Forum navigation vocabulary', -10);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.