You are here

protected function MigrateUpgradeReviewPageTest::setUp in Commerce Migrate 3.1.x

Same name in this branch
  1. 3.1.x modules/ubercart/tests/src/Functional/uc7/MigrateUpgradeReviewPageTest.php \Drupal\Tests\commerce_migrate_ubercart\Functional\uc7\MigrateUpgradeReviewPageTest::setUp()
  2. 3.1.x modules/ubercart/tests/src/Functional/uc6/MigrateUpgradeReviewPageTest.php \Drupal\Tests\commerce_migrate_ubercart\Functional\uc6\MigrateUpgradeReviewPageTest::setUp()
  3. 3.1.x modules/commerce/tests/src/Functional/commerce1/MigrateUpgradeReviewPageTest.php \Drupal\Tests\commerce_migrate_commerce\Functional\commerce1\MigrateUpgradeReviewPageTest::setUp()
Same name and namespace in other branches
  1. 8.2 modules/commerce/tests/src/Functional/commerce1/MigrateUpgradeReviewPageTest.php \Drupal\Tests\commerce_migrate_commerce\Functional\commerce1\MigrateUpgradeReviewPageTest::setUp()
  2. 3.0.x modules/commerce/tests/src/Functional/commerce1/MigrateUpgradeReviewPageTest.php \Drupal\Tests\commerce_migrate_commerce\Functional\commerce1\MigrateUpgradeReviewPageTest::setUp()

Overrides MigrateUpgradeTestBase::setUp

File

modules/commerce/tests/src/Functional/commerce1/MigrateUpgradeReviewPageTest.php, line 46

Class

MigrateUpgradeReviewPageTest
Tests migrate upgrade review page for Commerce 1.

Namespace

Drupal\Tests\commerce_migrate_commerce\Functional\commerce1

Code

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');
}