public function OrderSettingsTest::testMigration in Commerce Migrate 8.2
Same name and namespace in other branches
- 3.1.x modules/commerce/tests/src/Kernel/Migrate/commerce1/OrderSettingsTest.php \Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1\OrderSettingsTest::testMigration()
- 3.0.x modules/commerce/tests/src/Kernel/Migrate/commerce1/OrderSettingsTest.php \Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1\OrderSettingsTest::testMigration()
Tests migration of tracker's variables to configuration.
File
- modules/
commerce/ tests/ src/ Kernel/ Migrate/ commerce1/ OrderSettingsTest.php, line 42
Class
- OrderSettingsTest
- Tests cart settings migration.
Namespace
Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1Code
public function testMigration() {
$order_settings = $this
->config('commerce_order.commerce_order_type.default');
$this
->assertSame('customer', $order_settings
->get('refresh_mode'));
$this
->assertSame(12, $order_settings
->get('refresh_frequency'));
}