protected function MigrateUpgradeCommerce1Test::setUp in Commerce Migrate 3.1.x
Same name and namespace in other branches
- 8.2 modules/commerce/tests/src/Functional/commerce1/MigrateUpgradeCommerce1Test.php \Drupal\Tests\commerce_migrate_commerce\Functional\commerce1\MigrateUpgradeCommerce1Test::setUp()
- 3.0.x modules/commerce/tests/src/Functional/commerce1/MigrateUpgradeCommerce1Test.php \Drupal\Tests\commerce_migrate_commerce\Functional\commerce1\MigrateUpgradeCommerce1Test::setUp()
Overrides MigrateUpgradeTestBase::setUp
File
- modules/
commerce/ tests/ src/ Functional/ commerce1/ MigrateUpgradeCommerce1Test.php, line 78
Class
- MigrateUpgradeCommerce1Test
- Tests Commerce 1 upgrade using the migrate UI.
Namespace
Drupal\Tests\commerce_migrate_commerce\Functional\commerce1Code
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_commerce') . '/tests/fixtures/ck2.php');
}