protected function MigrateUpgradeAddToCartTest::setUp in Commerce Migrate 3.1.x
Same name in this branch
- 3.1.x modules/ubercart/tests/src/Functional/uc6/MigrateUpgradeAddToCartTest.php \Drupal\Tests\commerce_migrate_ubercart\Functional\uc6\MigrateUpgradeAddToCartTest::setUp()
- 3.1.x modules/commerce/tests/src/Functional/commerce1/MigrateUpgradeAddToCartTest.php \Drupal\Tests\commerce_migrate_commerce\Functional\commerce1\MigrateUpgradeAddToCartTest::setUp()
Same name and namespace in other branches
- 8.2 modules/ubercart/tests/src/Functional/uc6/MigrateUpgradeAddToCartTest.php \Drupal\Tests\commerce_migrate_ubercart\Functional\uc6\MigrateUpgradeAddToCartTest::setUp()
- 3.0.x modules/ubercart/tests/src/Functional/uc6/MigrateUpgradeAddToCartTest.php \Drupal\Tests\commerce_migrate_ubercart\Functional\uc6\MigrateUpgradeAddToCartTest::setUp()
Overrides MigrateUpgradeTestBase::setUp
File
- modules/
ubercart/ tests/ src/ Functional/ uc6/ MigrateUpgradeAddToCartTest.php, line 74
Class
- MigrateUpgradeAddToCartTest
- Tests adding a product to the cart after a full migration.
Namespace
Drupal\Tests\commerce_migrate_ubercart\Functional\uc6Code
protected function setUp() : void {
parent::setUp();
$this
->writeSettings([
'settings' => [
'migrate_node_migrate_type_classic' => (object) [
'value' => TRUE,
'required' => TRUE,
],
],
]);
$this
->loadFixture(drupal_get_path('module', 'commerce_migrate_ubercart') . '/tests/fixtures/uc6.php');
}