function MigrateTaxonomyVocabularyTest::testTaxonomyVocabulary

Same name in this branch
  1. 11.x core/modules/forum/tests/src/Kernel/Migrate/d6/MigrateTaxonomyVocabularyTest.php \Drupal\Tests\forum\Kernel\Migrate\d6\MigrateTaxonomyVocabularyTest::testTaxonomyVocabulary()
  2. 11.x core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTaxonomyVocabularyTest.php \Drupal\Tests\taxonomy\Kernel\Migrate\d6\MigrateTaxonomyVocabularyTest::testTaxonomyVocabulary()
  3. 11.x core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateTaxonomyVocabularyTest.php \Drupal\Tests\taxonomy\Kernel\Migrate\d7\MigrateTaxonomyVocabularyTest::testTaxonomyVocabulary()
Same name in other branches
  1. 9 core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTaxonomyVocabularyTest.php \Drupal\Tests\taxonomy\Kernel\Migrate\d6\MigrateTaxonomyVocabularyTest::testTaxonomyVocabulary()
  2. 9 core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateTaxonomyVocabularyTest.php \Drupal\Tests\taxonomy\Kernel\Migrate\d7\MigrateTaxonomyVocabularyTest::testTaxonomyVocabulary()
  3. 8.9.x core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTaxonomyVocabularyTest.php \Drupal\Tests\taxonomy\Kernel\Migrate\d6\MigrateTaxonomyVocabularyTest::testTaxonomyVocabulary()
  4. 8.9.x core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateTaxonomyVocabularyTest.php \Drupal\Tests\taxonomy\Kernel\Migrate\d7\MigrateTaxonomyVocabularyTest::testTaxonomyVocabulary()
  5. 10 core/modules/forum/tests/src/Kernel/Migrate/d6/MigrateTaxonomyVocabularyTest.php \Drupal\Tests\forum\Kernel\Migrate\d6\MigrateTaxonomyVocabularyTest::testTaxonomyVocabulary()
  6. 10 core/modules/forum/tests/src/Kernel/Migrate/d7/MigrateTaxonomyVocabularyTest.php \Drupal\Tests\forum\Kernel\Migrate\d7\MigrateTaxonomyVocabularyTest::testTaxonomyVocabulary()
  7. 10 core/modules/taxonomy/tests/src/Kernel/Migrate/d6/MigrateTaxonomyVocabularyTest.php \Drupal\Tests\taxonomy\Kernel\Migrate\d6\MigrateTaxonomyVocabularyTest::testTaxonomyVocabulary()
  8. 10 core/modules/taxonomy/tests/src/Kernel/Migrate/d7/MigrateTaxonomyVocabularyTest.php \Drupal\Tests\taxonomy\Kernel\Migrate\d7\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 32

Class

MigrateTaxonomyVocabularyTest
Migrate forum vocabulary to taxonomy.vocabulary.*.yml.

Namespace

Drupal\Tests\forum\Kernel\Migrate\d7

Code

public function testTaxonomyVocabulary() {
    $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.