You are here

protected function MigrateCommentVariableInstanceTest::setUp in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/comment/src/Tests/Migrate/d6/MigrateCommentVariableInstanceTest.php \Drupal\comment\Tests\Migrate\d6\MigrateCommentVariableInstanceTest::setUp()

Performs setup tasks before each individual test method is run.

Overrides MigrateDrupal6TestBase::setUp

File

core/modules/comment/src/Tests/Migrate/d6/MigrateCommentVariableInstanceTest.php, line 29
Contains \Drupal\comment\Tests\Migrate\d6\MigrateCommentVariableInstanceTest.

Class

MigrateCommentVariableInstanceTest
Upgrade comment variables to field.instance.node.*.comment.yml.

Namespace

Drupal\comment\Tests\Migrate\d6

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installConfig([
    'comment',
  ]);
  $this
    ->migrateContentTypes();
  $this
    ->executeMigrations([
    'd6_comment_type',
    'd6_comment_field',
    'd6_comment_field_instance',
  ]);
}