You are here

protected function Ubercart6TestBase::migrateOrders in Commerce Migrate 3.1.x

Same name and namespace in other branches
  1. 8.2 modules/ubercart/tests/src/Kernel/Migrate/uc6/Ubercart6TestBase.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6\Ubercart6TestBase::migrateOrders()
  2. 3.0.x modules/ubercart/tests/src/Kernel/Migrate/uc6/Ubercart6TestBase.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6\Ubercart6TestBase::migrateOrders()

Executes order migration.

Required modules:

  • commerce_order.
  • commerce_price.
  • commerce_product.
  • commerce_store.
  • content_translation.
  • language.
  • migrate_plus.
  • path.
  • profile.
  • state_machine.
2 calls to Ubercart6TestBase::migrateOrders()
OrderTest::setUp in modules/ubercart/tests/src/Kernel/Migrate/uc6/OrderTest.php
PaymentTest::setUp in modules/ubercart/tests/src/Kernel/Migrate/uc6/PaymentTest.php

File

modules/ubercart/tests/src/Kernel/Migrate/uc6/Ubercart6TestBase.php, line 102

Class

Ubercart6TestBase
Test base for Ubercart D6 tests.

Namespace

Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6

Code

protected function migrateOrders() {
  $this
    ->migrateOrderItems();
  $this
    ->executeMigrations([
    'uc_order_field',
    'uc_order_field_instance',
    'uc6_order',
  ]);
}