protected function Ubercart6TestBase::migrateOrderItems in Commerce Migrate 3.0.x
Same name and namespace in other branches
- 8.2 modules/ubercart/tests/src/Kernel/Migrate/uc6/Ubercart6TestBase.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6\Ubercart6TestBase::migrateOrderItems()
- 3.1.x modules/ubercart/tests/src/Kernel/Migrate/uc6/Ubercart6TestBase.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6\Ubercart6TestBase::migrateOrderItems()
Executes order item migration.
Required modules:
- commerce_order.
- commerce_price.
- commerce_product.
- commerce_store.
- content_translation.
- language.
- migrate_plus.
- path.
- profile.
- state_machine.
2 calls to Ubercart6TestBase::migrateOrderItems()
- OrderItemTest::setUp in modules/
ubercart/ tests/ src/ Kernel/ Migrate/ uc6/ OrderItemTest.php - Ubercart6TestBase::migrateOrders in modules/
ubercart/ tests/ src/ Kernel/ Migrate/ uc6/ Ubercart6TestBase.php - Executes order migration.
File
- modules/
ubercart/ tests/ src/ Kernel/ Migrate/ uc6/ Ubercart6TestBase.php, line 126
Class
- Ubercart6TestBase
- Test base for Ubercart D6 tests.
Namespace
Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6Code
protected function migrateOrderItems() {
$this
->installEntitySchema('view');
$this
->installEntitySchema('profile');
$this
->installEntitySchema('commerce_product');
$this
->installEntitySchema('commerce_product_variation');
$this
->installEntitySchema('commerce_order');
$this
->installEntitySchema('commerce_order_item');
$this
->installEntitySchema('node');
$this
->migrateStore();
$this
->installSchema('commerce_number_pattern', [
'commerce_number_pattern_sequence',
]);
$this
->installConfig([
'commerce_order',
'commerce_product',
]);
$this
->migrateContentTypes();
$this
->migrateAttributes();
$this
->executeMigrations([
'd6_language_content_settings',
'd6_node_settings',
'uc6_language_content_settings',
'uc6_product_variation',
'd6_node',
'uc6_profile_billing',
'uc6_order_product',
]);
}