protected function ProductAttributeTest::setUp in Commerce Migrate 3.1.x
Same name in this branch
- 3.1.x modules/magento/tests/src/Kernel/Migrate/magento2/ProductAttributeTest.php \Drupal\Tests\commerce_migrate_magento\Kernel\Migrate\magento2\ProductAttributeTest::setUp()
- 3.1.x modules/ubercart/tests/src/Kernel/Migrate/uc7/ProductAttributeTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7\ProductAttributeTest::setUp()
- 3.1.x modules/ubercart/tests/src/Kernel/Migrate/uc6/ProductAttributeTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6\ProductAttributeTest::setUp()
- 3.1.x modules/commerce/tests/src/Kernel/Migrate/commerce1/ProductAttributeTest.php \Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1\ProductAttributeTest::setUp()
Same name and namespace in other branches
- 8.2 modules/commerce/tests/src/Kernel/Migrate/commerce1/ProductAttributeTest.php \Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1\ProductAttributeTest::setUp()
- 3.0.x modules/commerce/tests/src/Kernel/Migrate/commerce1/ProductAttributeTest.php \Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1\ProductAttributeTest::setUp()
Overrides MigrateDrupal7TestBase::setUp
File
- modules/
commerce/ tests/ src/ Kernel/ Migrate/ commerce1/ ProductAttributeTest.php, line 46
Class
- ProductAttributeTest
- Tests commerce field instance migration.
Namespace
Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1Code
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',
'commerce1_product_attribute',
]);
}