You are here

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

Same name in this branch
  1. 3.1.x modules/ubercart/tests/src/Kernel/Migrate/uc7/FieldTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7\FieldTest::setUp()
  2. 3.1.x modules/ubercart/tests/src/Kernel/Migrate/uc6/FieldTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6\FieldTest::setUp()
  3. 3.1.x modules/commerce/tests/src/Kernel/Migrate/commerce1/FieldTest.php \Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1\FieldTest::setUp()
Same name and namespace in other branches
  1. 8.2 modules/commerce/tests/src/Kernel/Migrate/commerce1/FieldTest.php \Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1\FieldTest::setUp()
  2. 3.0.x modules/commerce/tests/src/Kernel/Migrate/commerce1/FieldTest.php \Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1\FieldTest::setUp()

Overrides MigrateDrupal7TestBase::setUp

File

modules/commerce/tests/src/Kernel/Migrate/commerce1/FieldTest.php, line 47

Class

FieldTest
Tests field migration.

Namespace

Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installEntitySchema('commerce_product');
  $this
    ->installEntitySchema('commerce_product_variation');
  $this
    ->installEntitySchema('profile');
  $this
    ->executeMigrations([
    'commerce1_product_variation_type',
    'commerce1_product_type',
    'd7_field',
  ]);
}