You are here

protected function MigrateCommentFieldTest::setUp in Drupal 8

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

Overrides MigrateDrupal6TestBase::setUp

File

core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentFieldTest.php, line 24

Class

MigrateCommentFieldTest
Tests the migration of comment fields from Drupal 6.

Namespace

Drupal\Tests\comment\Kernel\Migrate\d6

Code

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