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/d6/MigrateCommentTypeTest.php \Drupal\comment\Tests\Migrate\d6\MigrateCommentTypeTest::setUp()

Performs setup tasks before each individual test method is run.

Overrides MigrateDrupal6TestBase::setUp

File

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

Class

MigrateCommentTypeTest
Upgrade comment type.

Namespace

Drupal\comment\Tests\Migrate\d6

Code

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