public function ShippingFlatRateTest::testShippingFlatRate in Commerce Migrate 3.1.x
Same name in this branch
- 3.1.x modules/ubercart/tests/src/Kernel/Migrate/uc7/ShippingFlatRateTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7\ShippingFlatRateTest::testShippingFlatRate()
- 3.1.x modules/ubercart/tests/src/Kernel/Migrate/uc6/ShippingFlatRateTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6\ShippingFlatRateTest::testShippingFlatRate()
- 3.1.x modules/commerce/tests/src/Kernel/Migrate/commerce1/ShippingFlatRateTest.php \Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1\ShippingFlatRateTest::testShippingFlatRate()
Same name and namespace in other branches
- 8.2 modules/ubercart/tests/src/Kernel/Migrate/uc7/ShippingFlatRateTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7\ShippingFlatRateTest::testShippingFlatRate()
- 3.0.x modules/ubercart/tests/src/Kernel/Migrate/uc7/ShippingFlatRateTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7\ShippingFlatRateTest::testShippingFlatRate()
Test flat rate shipping method migration.
File
- modules/
ubercart/ tests/ src/ Kernel/ Migrate/ uc7/ ShippingFlatRateTest.php, line 48
Class
- ShippingFlatRateTest
- Tests flat rate shipping migration from Uberart 7.
Namespace
Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7Code
public function testShippingFlatRate() {
$type = [
'id' => '1',
'label' => 'Flat Rate',
'rate_amount' => [
'number' => '1.50000',
'currency_code' => 'USD',
],
'stores' => [
'1',
],
];
$this
->assertShippingMethod($type);
}