PaymentGatewayTest.php in Commerce Migrate 8.2
Same filename in this branch
- 8.2 modules/ubercart/tests/src/Kernel/Migrate/uc7/PaymentGatewayTest.php
- 8.2 modules/ubercart/tests/src/Kernel/Migrate/uc6/PaymentGatewayTest.php
- 8.2 modules/commerce/tests/src/Kernel/Migrate/commerce1/PaymentGatewayTest.php
- 8.2 modules/ubercart/tests/src/Kernel/Plugin/migrate/source/PaymentGatewayTest.php
- 8.2 modules/commerce/tests/src/Kernel/Plugin/migrate/source/commerce1/PaymentGatewayTest.php
Same filename and directory in other branches
File
modules/ubercart/tests/src/Kernel/Migrate/uc7/PaymentGatewayTest.phpView source
<?php
namespace Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7;
use Drupal\Tests\commerce_migrate\Kernel\CommerceMigrateTestTrait;
/**
* Tests payment gateway migration.
*
* @group commerce_migrate
* @group commerce_migrate_uc7
*/
class PaymentGatewayTest extends Ubercart7TestBase {
use CommerceMigrateTestTrait;
/**
* Modules to enable.
*
* @var array
*/
public static $modules = [
'commerce_order',
'commerce_price',
'commerce_payment',
'commerce_store',
'profile',
'state_machine',
];
/**
* {@inheritdoc}
*/
protected function setUp() {
parent::setUp();
$this
->executeMigration('uc_payment_gateway');
}
/**
* Tests payment gateway migration.
*/
public function testPaymentGateway() {
$this
->assertPaymentGatewayEntity('cod', 'COD', NULL);
}
}
Classes
Name | Description |
---|---|
PaymentGatewayTest | Tests payment gateway migration. |