You are here

protected function MigrateCommentVariableDisplayBase::setUp in Zircon Profile 8

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

Performs setup tasks before each individual test method is run.

Overrides MigrateDrupal6TestBase::setUp

2 calls to MigrateCommentVariableDisplayBase::setUp()
MigrateCommentVariableEntityDisplayTest::setUp in core/modules/comment/src/Tests/Migrate/d6/MigrateCommentVariableEntityDisplayTest.php
Performs setup tasks before each individual test method is run.
MigrateCommentVariableEntityFormDisplayTest::setUp in core/modules/comment/src/Tests/Migrate/d6/MigrateCommentVariableEntityFormDisplayTest.php
Performs setup tasks before each individual test method is run.
2 methods override MigrateCommentVariableDisplayBase::setUp()
MigrateCommentVariableEntityDisplayTest::setUp in core/modules/comment/src/Tests/Migrate/d6/MigrateCommentVariableEntityDisplayTest.php
Performs setup tasks before each individual test method is run.
MigrateCommentVariableEntityFormDisplayTest::setUp in core/modules/comment/src/Tests/Migrate/d6/MigrateCommentVariableEntityFormDisplayTest.php
Performs setup tasks before each individual test method is run.

File

core/modules/comment/src/Tests/Migrate/d6/MigrateCommentVariableDisplayBase.php, line 25
Contains \Drupal\comment\Tests\Migrate\d6\MigrateCommentVariableDisplayBase.

Class

MigrateCommentVariableDisplayBase
Base class for Drupal 6 comment variables to Drupal 8 entity display tests.

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',
  ]);
}