You are here

public function TaxonomyVocabularyTest::testTaxonomyVocabulary in Commerce Migrate 3.0.x

Same name in this branch
  1. 3.0.x modules/shopify/tests/src/Kernel/Migrate/TaxonomyVocabularyTest.php \Drupal\Tests\commerce_migrate_shopify\Kernel\Migrate\TaxonomyVocabularyTest::testTaxonomyVocabulary()
  2. 3.0.x modules/magento/tests/src/Kernel/Migrate/magento2/TaxonomyVocabularyTest.php \Drupal\Tests\commerce_migrate_magento\Kernel\Migrate\magento2\TaxonomyVocabularyTest::testTaxonomyVocabulary()
  3. 3.0.x modules/woocommerce/tests/src/Kernel/Migrate/woo3/TaxonomyVocabularyTest.php \Drupal\Tests\commerce_migrate_woocommerce\Kernel\Migrate\woo3\TaxonomyVocabularyTest::testTaxonomyVocabulary()
Same name and namespace in other branches
  1. 8.2 modules/magento/tests/src/Kernel/Migrate/magento2/TaxonomyVocabularyTest.php \Drupal\Tests\commerce_migrate_magento\Kernel\Migrate\magento2\TaxonomyVocabularyTest::testTaxonomyVocabulary()
  2. 3.1.x modules/magento/tests/src/Kernel/Migrate/magento2/TaxonomyVocabularyTest.php \Drupal\Tests\commerce_migrate_magento\Kernel\Migrate\magento2\TaxonomyVocabularyTest::testTaxonomyVocabulary()

Tests Magento 2 category to Drupal 8 vocabulary migration.

File

modules/magento/tests/src/Kernel/Migrate/magento2/TaxonomyVocabularyTest.php, line 51

Class

TaxonomyVocabularyTest
Migrate category.

Namespace

Drupal\Tests\commerce_migrate_magento\Kernel\Migrate\magento2

Code

public function testTaxonomyVocabulary() {
  $this
    ->assertVocabularyEntity('default_category', 'Default Category', NULL, VocabularyInterface::HIERARCHY_DISABLED, 0);
}