MigrateUserStubTest.php in Drupal 9
File
core/modules/user/tests/src/Kernel/Migrate/MigrateUserStubTest.php
View source
<?php
namespace Drupal\Tests\user\Kernel\Migrate;
use Drupal\Tests\migrate_drupal\Kernel\MigrateDrupalTestBase;
use Drupal\migrate_drupal\Tests\StubTestTrait;
class MigrateUserStubTest extends MigrateDrupalTestBase {
use StubTestTrait;
protected static $modules = [
'user',
];
protected function setUp() : void {
parent::setUp();
$this
->installEntitySchema('user');
$this
->installSchema('system', [
'sequences',
]);
}
public function testStub() {
$this
->performStubTest('user');
}
}