You are here

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

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

Overrides MigrateDrupal7TestBase::setUp

File

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

Class

ShippingFlatRateTest
Tests flat rate shipping migration from Uberart 7.

Namespace

Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->installEntitySchema('commerce_shipping_method');
  $this
    ->executeMigration('uc_shipping_flat_rate');
}