public function OrderItemTypeTest::testOrderItemType in Commerce Migrate 8.2
Same name and namespace in other branches
- 3.1.x modules/commerce/tests/src/Kernel/Migrate/commerce1/OrderItemTypeTest.php \Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1\OrderItemTypeTest::testOrderItemType()
- 3.0.x modules/commerce/tests/src/Kernel/Migrate/commerce1/OrderItemTypeTest.php \Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1\OrderItemTypeTest::testOrderItemType()
Tests the Drupal 6 taxonomy vocabularies to Drupal 8 migration.
File
- modules/
commerce/ tests/ src/ Kernel/ Migrate/ commerce1/ OrderItemTypeTest.php, line 37
Class
- OrderItemTypeTest
- Tests order item type migration.
Namespace
Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1Code
public function testOrderItemType() {
$order_item_type = [
'id' => 'product',
'label' => 'product',
'purchasableEntityType' => 'commerce_product_variation',
'orderType' => 'default',
];
$this
->assertOrderItemType($order_item_type);
}