You are here

protected function OrderFieldInstanceTest::setUp in Commerce Migrate 3.1.x

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

Overrides MigrateDrupal6TestBase::setUp

File

modules/ubercart/tests/src/Kernel/Migrate/uc6/OrderFieldInstanceTest.php, line 39

Class

OrderFieldInstanceTest
Migrate field instance tests.

Namespace

Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installEntitySchema('commerce_store');
  $this
    ->installEntitySchema('commerce_order');
  $this
    ->installEntitySchema('profile');
  $this
    ->installSchema('commerce_number_pattern', [
    'commerce_number_pattern_sequence',
  ]);
  $this
    ->installConfig('commerce_store');
  $this
    ->installConfig('commerce_order');
  $this
    ->executeMigrations([
    'uc_order_field',
    'uc_order_field_instance',
  ]);
}