You are here

protected function Ubercart7TestBase::migrateStore in Commerce Migrate 8.2

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

Executes store migration.

Required modules:

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

File

modules/ubercart/tests/src/Kernel/Migrate/uc7/Ubercart7TestBase.php, line 263

Class

Ubercart7TestBase
Test base for Ubercart 7 tests.

Namespace

Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7

Code

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