You are here

protected function Ubercart6TestBase::migrateStore in Commerce Migrate 3.1.x

Same name and namespace in other branches
  1. 8.2 modules/ubercart/tests/src/Kernel/Migrate/uc6/Ubercart6TestBase.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6\Ubercart6TestBase::migrateStore()
  2. 3.0.x modules/ubercart/tests/src/Kernel/Migrate/uc6/Ubercart6TestBase.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6\Ubercart6TestBase::migrateStore()

Executes store migration.

Required modules:

  • commerce_price.
  • commerce_store.
4 calls to Ubercart6TestBase::migrateStore()
StoreTest::setUp in modules/ubercart/tests/src/Kernel/Migrate/uc6/StoreTest.php
Ubercart6TestBase::migrateOrderItems in modules/ubercart/tests/src/Kernel/Migrate/uc6/Ubercart6TestBase.php
Executes order item migration.
Ubercart6TestBase::migrateProductVariations in modules/ubercart/tests/src/Kernel/Migrate/uc6/Ubercart6TestBase.php
Executes product variation migration.
ViewModesTest::setUp in modules/ubercart/tests/src/Kernel/Migrate/uc6/ViewModesTest.php

File

modules/ubercart/tests/src/Kernel/Migrate/uc6/Ubercart6TestBase.php, line 215

Class

Ubercart6TestBase
Test base for Ubercart D6 tests.

Namespace

Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6

Code

protected function migrateStore() {
  $this
    ->installEntitySchema('commerce_store');
  $this
    ->migrateUsers(FALSE);
  $this
    ->executeMigrations([
    'uc_currency',
    'uc6_store',
  ]);
}