Version 1
[yaffs-website] / web / core / modules / user / tests / src / Kernel / Migrate / MigrateUserStubTest.php
1 <?php
2
3 namespace Drupal\Tests\user\Kernel\Migrate;
4
5 use Drupal\Tests\migrate_drupal\Kernel\MigrateDrupalTestBase;
6 use Drupal\migrate_drupal\Tests\StubTestTrait;
7
8 /**
9  * Test stub creation for user entities.
10  *
11  * @group user
12  */
13 class MigrateUserStubTest extends MigrateDrupalTestBase {
14
15   use StubTestTrait;
16
17   /**
18    * {@inheritdoc}
19    */
20   public static $modules = ['user'];
21
22   /**
23    * {@inheritdoc}
24    */
25   protected function setUp() {
26     parent::setUp();
27     $this->installEntitySchema('user');
28     $this->installSchema('system', ['sequences']);
29   }
30
31   /**
32    * Tests creation of user stubs.
33    */
34   public function testStub() {
35     $this->performStubTest('user');
36   }
37
38 }