You are here

protected function ProfileBillingTest::setUp in Commerce Migrate 8.2

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

Overrides MigrateDrupal7TestBase::setUp

File

modules/ubercart/tests/src/Kernel/Migrate/uc7/ProfileBillingTest.php, line 39

Class

ProfileBillingTest
Tests customer profile migration.

Namespace

Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installEntitySchema('commerce_order');
  $this
    ->installEntitySchema('profile');
  $this
    ->installEntitySchema('commerce_store');
  $this
    ->installSchema('commerce_number_pattern', [
    'commerce_number_pattern_sequence',
  ]);
  $this
    ->installConfig('commerce_order');
  $this
    ->migrateUsers(FALSE);
  $this
    ->executeMigration('uc7_profile_billing');
}