You are here

protected function ProfileTypeTest::setUp in Commerce Migrate 3.1.x

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

Overrides CsvTestBase::setUp

File

modules/magento/tests/src/Kernel/Migrate/magento2/ProfileTypeTest.php, line 61

Class

ProfileTypeTest
Tests profile type migration.

Namespace

Drupal\Tests\commerce_migrate_magento\Kernel\Migrate\magento2

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installSchema('system', 'sequences');
  $this
    ->installEntitySchema('user');
  $this
    ->installEntitySchema('profile');
  $this
    ->installConfig([
    'system',
  ]);
  $this
    ->executeMigrations([
    'magento2_user',
    'magento2_profile_type',
  ]);
}