protected function PaymentTest::setUp in Commerce Migrate 8.2
Same name in this branch
- 8.2 modules/ubercart/tests/src/Kernel/Migrate/uc7/PaymentTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7\PaymentTest::setUp()
- 8.2 modules/ubercart/tests/src/Kernel/Migrate/uc6/PaymentTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc6\PaymentTest::setUp()
- 8.2 modules/commerce/tests/src/Kernel/Migrate/commerce1/PaymentTest.php \Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1\PaymentTest::setUp()
Same name and namespace in other branches
- 3.1.x modules/ubercart/tests/src/Kernel/Migrate/uc7/PaymentTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7\PaymentTest::setUp()
- 3.0.x modules/ubercart/tests/src/Kernel/Migrate/uc7/PaymentTest.php \Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7\PaymentTest::setUp()
Overrides MigrateDrupal7TestBase::setUp
File
- modules/
ubercart/ tests/ src/ Kernel/ Migrate/ uc7/ PaymentTest.php, line 42
Class
- PaymentTest
- Tests payment migration.
Namespace
Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7Code
protected function setUp() {
parent::setUp();
$this
->installEntitySchema('commerce_payment');
PaymentGateway::create([
'id' => 'example',
'label' => 'Example',
'plugin' => 'manual',
])
->save();
$this
->migrateOrders();
$this
->executeMigrations([
'uc_payment_gateway',
'uc7_payment',
]);
}