You are here

public function ProfileTypeTest::testProfileType in Commerce Migrate 8.2

Same name in this branch
  1. 8.2 modules/magento/tests/src/Kernel/Migrate/magento2/ProfileTypeTest.php \Drupal\Tests\commerce_migrate_magento\Kernel\Migrate\magento2\ProfileTypeTest::testProfileType()
  2. 8.2 modules/commerce/tests/src/Kernel/Migrate/commerce1/ProfileTypeTest.php \Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1\ProfileTypeTest::testProfileType()
Same name and namespace in other branches
  1. 3.1.x modules/commerce/tests/src/Kernel/Migrate/commerce1/ProfileTypeTest.php \Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1\ProfileTypeTest::testProfileType()
  2. 3.0.x modules/commerce/tests/src/Kernel/Migrate/commerce1/ProfileTypeTest.php \Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1\ProfileTypeTest::testProfileType()

Test profile type migration from Drupal 7 to 8.

Product variation types in Drupal 8 are product types in Drupal 7.

File

modules/commerce/tests/src/Kernel/Migrate/commerce1/ProfileTypeTest.php, line 36

Class

ProfileTypeTest
Tests product variation type migration.

Namespace

Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1

Code

public function testProfileType() {
  $this
    ->assertProfileType('billing', 'Billing', FALSE, FALSE);
  $this
    ->assertProfileType('shipping', 'Shipping', FALSE, FALSE);
}