protected function MigrateTrackerUserTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/tracker/tests/src/Kernel/Migrate/d7/MigrateTrackerUserTest.php \Drupal\Tests\tracker\Kernel\Migrate\d7\MigrateTrackerUserTest::setUp()
Overrides MigrateDrupal7TestBase::setUp
File
- core/
modules/ tracker/ tests/ src/ Kernel/ Migrate/ d7/ MigrateTrackerUserTest.php, line 28
Class
- MigrateTrackerUserTest
- Tests migration of tracker_user.
Namespace
Drupal\Tests\tracker\Kernel\Migrate\d7Code
protected function setUp() {
parent::setUp();
$this
->installEntitySchema('node');
$this
->installConfig(static::$modules);
$this
->installSchema('node', [
'node_access',
]);
$this
->installSchema('tracker', [
'tracker_node',
'tracker_user',
]);
$this
->migrateContentTypes();
$this
->migrateUsers(FALSE);
$this
->executeMigrations([
'd7_node',
'd7_tracker_node',
]);
}