protected function Commerce1TestBase::migrateOrders in Commerce Migrate 8.2
Same name and namespace in other branches
- 3.1.x modules/commerce/tests/src/Kernel/Migrate/commerce1/Commerce1TestBase.php \Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1\Commerce1TestBase::migrateOrders()
- 3.0.x modules/commerce/tests/src/Kernel/Migrate/commerce1/Commerce1TestBase.php \Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1\Commerce1TestBase::migrateOrders()
Executes order migration.
Required modules:
- commerce_order.
- commerce_price.
- commerce_product.
- commerce_store.
- migrate_plus.
- path.
2 calls to Commerce1TestBase::migrateOrders()
- LogTest::setUp in modules/
commerce/ tests/ src/ Kernel/ Migrate/ commerce1/ LogTest.php - PaymentTest::setUp in modules/
commerce/ tests/ src/ Kernel/ Migrate/ commerce1/ PaymentTest.php
File
- modules/
commerce/ tests/ src/ Kernel/ Migrate/ commerce1/ Commerce1TestBase.php, line 98
Class
- Commerce1TestBase
- Base class for Commerce 1 migration tests.
Namespace
Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1Code
protected function migrateOrders() {
$this
->migrateOrderItems();
$this
->migrateStore();
$this
->migrateProfiles();
$this
->executeMigrations([
'commerce1_product_variation_type',
'commerce1_product_variation',
'commerce1_order_item_type',
'commerce1_order_item',
'commerce1_order',
]);
}