function FollowUpMigrationsTest::setUp

Same name in this branch
  1. 11.x core/modules/migrate_drupal/tests/src/Kernel/d6/FollowUpMigrationsTest.php \Drupal\Tests\migrate_drupal\Kernel\d6\FollowUpMigrationsTest::setUp()
Same name and namespace in other branches
  1. 9 core/modules/migrate_drupal/tests/src/Kernel/d6/FollowUpMigrationsTest.php \Drupal\Tests\migrate_drupal\Kernel\d6\FollowUpMigrationsTest::setUp()
  2. 9 core/modules/migrate_drupal/tests/src/Kernel/d7/FollowUpMigrationsTest.php \Drupal\Tests\migrate_drupal\Kernel\d7\FollowUpMigrationsTest::setUp()
  3. 8.9.x core/modules/migrate_drupal/tests/src/Kernel/d6/FollowUpMigrationsTest.php \Drupal\Tests\migrate_drupal\Kernel\d6\FollowUpMigrationsTest::setUp()
  4. 8.9.x core/modules/migrate_drupal/tests/src/Kernel/d7/FollowUpMigrationsTest.php \Drupal\Tests\migrate_drupal\Kernel\d7\FollowUpMigrationsTest::setUp()
  5. 10 core/modules/migrate_drupal/tests/src/Kernel/d6/FollowUpMigrationsTest.php \Drupal\Tests\migrate_drupal\Kernel\d6\FollowUpMigrationsTest::setUp()
  6. 10 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 41

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',
    ]);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.