You are here

protected function MigrateCommentTypeTest::setUp in Zircon Profile 8

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

Performs setup tasks before each individual test method is run.

Overrides MigrateDrupal7TestBase::setUp

File

core/modules/comment/src/Tests/Migrate/d7/MigrateCommentTypeTest.php, line 27
Contains \Drupal\comment\Tests\Migrate\d7\MigrateCommentTypeTest.

Class

MigrateCommentTypeTest
Tests migration of comment types from Drupal 7.

Namespace

Drupal\comment\Tests\Migrate\d7

Code

protected function setUp() {
  parent::setUp();
  $this
    ->installConfig(static::$modules);
  $this
    ->executeMigrations([
    'd7_node_type',
    'd7_comment_type',
  ]);
}