You are here

protected function ProfileBillingDeletedUserTest::setUp in Commerce Migrate 8.2

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

Overrides MigrateDrupal6TestBase::setUp

File

modules/ubercart/tests/src/Kernel/Migrate/uc6/ProfileBillingDeletedUserTest.php, line 41

Class

ProfileBillingDeletedUserTest
Tests customer profile migration.

Namespace

Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6

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('uc6_profile_billing');
}