Ubercart7FixtureTest.php in Commerce Migrate 8.2
File
modules/ubercart/tests/src/Kernel/Migrate/uc7/Ubercart7FixtureTest.php
View source
<?php
namespace Drupal\Tests\commerce_migrate_ubercart\Kernel\Migrate\uc7;
use Drupal\user\Entity\User;
class Ubercart7FixtureTest extends Ubercart7TestBase {
protected function setUp() {
parent::setUp();
$this
->executeMigrations([
'd7_user_role',
'd7_user',
]);
}
public function testItWorked() {
$user = User::load(2);
$this
->assertEquals('tomparis', $user
->getAccountName());
}
}