protected function Commerce1TestBase::migrateProductVariations in Commerce Migrate 3.1.x
Same name and namespace in other branches
- 8.2 modules/commerce/tests/src/Kernel/Migrate/commerce1/Commerce1TestBase.php \Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1\Commerce1TestBase::migrateProductVariations()
- 3.0.x modules/commerce/tests/src/Kernel/Migrate/commerce1/Commerce1TestBase.php \Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1\Commerce1TestBase::migrateProductVariations()
Executes product variation migration.
Required modules:
- commerce_price.
- commerce_product.
- commerce_store.
- path.
3 calls to Commerce1TestBase::migrateProductVariations()
- Commerce1TestBase::migrateProducts in modules/
commerce/ tests/ src/ Kernel/ Migrate/ commerce1/ Commerce1TestBase.php - Executes product migration.
- ProductVariationRollbackTest::testProductVariation in modules/
commerce/ tests/ src/ Kernel/ Migrate/ commerce1/ ProductVariationRollbackTest.php - Test product migration rollback.
- ProductVariationTest::setUp in modules/
commerce/ tests/ src/ Kernel/ Migrate/ commerce1/ ProductVariationTest.php
File
- modules/
commerce/ tests/ src/ Kernel/ Migrate/ commerce1/ Commerce1TestBase.php, line 202
Class
- Commerce1TestBase
- Base class for Commerce 1 migration tests.
Namespace
Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1Code
protected function migrateProductVariations() {
$this
->installEntitySchema('view');
$this
->installEntitySchema('commerce_product_variation');
$this
->executeMigrations([
'commerce1_product_variation_type',
'commerce1_product_variation',
]);
}