You are here

protected function TaxonomyTermTest::setUp in Commerce Migrate 3.1.x

Same name in this branch
  1. 3.1.x modules/csv_example/tests/src/Kernel/Migrate/TaxonomyTermTest.php \Drupal\Tests\commerce_migrate_csv_example\Kernel\Migrate\TaxonomyTermTest::setUp()
  2. 3.1.x modules/shopify/tests/src/Kernel/Migrate/TaxonomyTermTest.php \Drupal\Tests\commerce_migrate_shopify\Kernel\Migrate\TaxonomyTermTest::setUp()
  3. 3.1.x modules/magento/tests/src/Kernel/Migrate/magento2/TaxonomyTermTest.php \Drupal\Tests\commerce_migrate_magento\Kernel\Migrate\magento2\TaxonomyTermTest::setUp()
Same name and namespace in other branches
  1. 8.2 modules/csv_example/tests/src/Kernel/Migrate/TaxonomyTermTest.php \Drupal\Tests\commerce_migrate_csv_example\Kernel\Migrate\TaxonomyTermTest::setUp()
  2. 3.0.x modules/csv_example/tests/src/Kernel/Migrate/TaxonomyTermTest.php \Drupal\Tests\commerce_migrate_csv_example\Kernel\Migrate\TaxonomyTermTest::setUp()

Overrides CsvTestBase::setUp

File

modules/csv_example/tests/src/Kernel/Migrate/TaxonomyTermTest.php, line 48

Class

TaxonomyTermTest
Upgrade taxonomy terms.

Namespace

Drupal\Tests\commerce_migrate_csv_example\Kernel\Migrate

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installEntitySchema('taxonomy_term');
  $this
    ->createVocabularies([
    'Category',
    'Season',
  ]);
  $this
    ->executeMigration('csv_example_taxonomy_term');
}