You are here

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

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

Overrides MigrateDrupal7TestBase::setUp

File

modules/ubercart/tests/src/Kernel/Migrate/uc7/AttributeFieldInstanceTest.php, line 34

Class

AttributeFieldInstanceTest
Tests attribute field instance migration.

Namespace

Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installEntitySchema('commerce_product');
  $this
    ->installEntitySchema('commerce_product_variation');
  $this
    ->installConfig([
    'commerce_product',
  ]);
  $this
    ->executeMigrations([
    'uc_attribute_field',
    'uc_product_attribute',
    'uc_attribute_field_instance',
  ]);
}