You are here

public function OrderItemTypeTest::testOrderItemType in Commerce Migrate 3.1.x

Same name and namespace in other branches
  1. 8.2 modules/commerce/tests/src/Kernel/Migrate/commerce1/OrderItemTypeTest.php \Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1\OrderItemTypeTest::testOrderItemType()
  2. 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\commerce1

Code

public function testOrderItemType() {
  $order_item_type = [
    'id' => 'product',
    'label' => 'product',
    'purchasableEntityType' => 'commerce_product_variation',
    'orderType' => 'default',
  ];
  $this
    ->assertOrderItemType($order_item_type);
}