You are here

protected function FollowUpMigrationsTest::setUp in Drupal 10

Same name in this branch
  1. 10 core/modules/migrate_drupal/tests/src/Kernel/d6/FollowUpMigrationsTest.php \Drupal\Tests\migrate_drupal\Kernel\d6\FollowUpMigrationsTest::setUp()
  2. 10 core/modules/migrate_drupal/tests/src/Kernel/d7/FollowUpMigrationsTest.php \Drupal\Tests\migrate_drupal\Kernel\d7\FollowUpMigrationsTest::setUp()
Same name and namespace in other branches
  1. 8 core/modules/migrate_drupal/tests/src/Kernel/d7/FollowUpMigrationsTest.php \Drupal\Tests\migrate_drupal\Kernel\d7\FollowUpMigrationsTest::setUp()
  2. 9 core/modules/migrate_drupal/tests/src/Kernel/d7/FollowUpMigrationsTest.php \Drupal\Tests\migrate_drupal\Kernel\d7\FollowUpMigrationsTest::setUp()

Overrides MigrateDrupal7TestBase::setUp

File

core/modules/migrate_drupal/tests/src/Kernel/d7/FollowUpMigrationsTest.php, line 39

Class

FollowUpMigrationsTest
Tests follow-up migrations.

Namespace

Drupal\Tests\migrate_drupal\Kernel\d7

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->fileMigrationSetup();
  $this
    ->installEntitySchema('comment');
  $this
    ->installSchema('node', [
    'node_access',
  ]);
  $this
    ->migrateFields();
  $this
    ->migrateUsers();
  $this
    ->executeMigrations([
    'language',
    'd7_language_content_settings',
    'd7_taxonomy_vocabulary',
  ]);
}