Ubercart7FixtureTest.php in Commerce Migrate 3.1.x
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() : void {
parent::setUp();
$this
->executeMigrations([
'd7_user_role',
'd7_user',
]);
}
public function testItWorked() {
$user = User::load(2);
$this
->assertEquals('tomparis', $user
->getAccountName());
}
}