ProfileTypeTest.php in Commerce Migrate 8.2
File
modules/commerce/tests/src/Kernel/Migrate/commerce1/ProfileTypeTest.php
View source
<?php
namespace Drupal\Tests\commerce_migrate_commerce\Kernel\Migrate\commerce1;
use Drupal\Tests\commerce_migrate\Kernel\CommerceMigrateTestTrait;
class ProfileTypeTest extends Commerce1TestBase {
use CommerceMigrateTestTrait;
public static $modules = [
'commerce_store',
];
protected function setUp() {
parent::setUp();
$this
->installEntitySchema('profile');
$this
->executeMigration('commerce1_profile_type');
}
public function testProfileType() {
$this
->assertProfileType('billing', 'Billing', FALSE, FALSE);
$this
->assertProfileType('shipping', 'Shipping', FALSE, FALSE);
}
}