protected function OrderSettingsTest::setUp in Commerce Migrate 3.1.x
Same name and namespace in other branches
- 8.2 modules/commerce/tests/src/Kernel/Migrate/commerce1/OrderSettingsTest.php \Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1\OrderSettingsTest::setUp()
- 3.0.x modules/commerce/tests/src/Kernel/Migrate/commerce1/OrderSettingsTest.php \Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1\OrderSettingsTest::setUp()
Overrides MigrateDrupal7TestBase::setUp
File
- modules/
commerce/ tests/ src/ Kernel/ Migrate/ commerce1/ OrderSettingsTest.php, line 29
Class
- OrderSettingsTest
- Tests cart settings migration.
Namespace
Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1Code
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_order');
$this
->executeMigration('commerce1_cart_settings');
}