protected function ProductVariationTest::setUp in Commerce Migrate 3.1.x
Same name in this branch
- 3.1.x modules/csv_example/tests/src/Kernel/Migrate/ProductVariationTest.php \Drupal\Tests\commerce_migrate_csv_example\Kernel\Migrate\ProductVariationTest::setUp()
- 3.1.x modules/shopify/tests/src/Kernel/Migrate/ProductVariationTest.php \Drupal\Tests\commerce_migrate_shopify\Kernel\Migrate\shopify\ProductVariationTest::setUp()
- 3.1.x modules/magento/tests/src/Kernel/Migrate/magento2/ProductVariationTest.php \Drupal\Tests\commerce_migrate_magento\Kernel\Migrate\magento2\ProductVariationTest::setUp()
- 3.1.x modules/ubercart/tests/src/Kernel/Migrate/uc7/ProductVariationTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7\ProductVariationTest::setUp()
- 3.1.x modules/ubercart/tests/src/Kernel/Migrate/uc6/ProductVariationTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6\ProductVariationTest::setUp()
- 3.1.x modules/commerce/tests/src/Kernel/Migrate/commerce1/ProductVariationTest.php \Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1\ProductVariationTest::setUp()
Same name and namespace in other branches
- 8.2 modules/shopify/tests/src/Kernel/Migrate/ProductVariationTest.php \Drupal\Tests\commerce_migrate_shopify\Kernel\Migrate\shopify\ProductVariationTest::setUp()
- 3.0.x modules/shopify/tests/src/Kernel/Migrate/ProductVariationTest.php \Drupal\Tests\commerce_migrate_shopify\Kernel\Migrate\shopify\ProductVariationTest::setUp()
Overrides CsvTestBase::setUp
File
- modules/
shopify/ tests/ src/ Kernel/ Migrate/ ProductVariationTest.php, line 55
Class
- ProductVariationTest
- Tests product variation migration.
Namespace
Drupal\Tests\commerce_migrate_shopify\Kernel\Migrate\shopifyCode
protected function setUp() : void {
parent::setUp();
$this
->installEntitySchema('user');
$this
->installSchema('user', [
'users_data',
]);
// Make sure uid 1 is created.
user_install();
$this
->installConfig('commerce_product');
$this
->installEntitySchema('commerce_store');
$this
->installEntitySchema('commerce_product_variation');
$this
->installEntitySchema('commerce_product');
$this
->executeMigrations([
'shopify_product_variation_type',
'shopify_product_variation',
]);
}