You are here

protected function MigrateCommentVariableFieldTest::setUp in Zircon Profile 8

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

Performs setup tasks before each individual test method is run.

Overrides MigrateDrupal6TestBase::setUp

File

core/modules/comment/src/Tests/Migrate/d6/MigrateCommentVariableFieldTest.php, line 28
Contains \Drupal\comment\Tests\Migrate\d6\MigrateCommentVariableFieldTest.

Class

MigrateCommentVariableFieldTest
Upgrade comment variables to field.storage.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',
  ]);
}