You are here

protected function MigrateCommentEntityDisplayTest::setUp in Drupal 10

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

Overrides MigrateDrupal7TestBase::setUp

File

core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentEntityDisplayTest.php, line 24

Class

MigrateCommentEntityDisplayTest
Tests the migration of comment entity displays from Drupal 7.

Namespace

Drupal\Tests\comment\Kernel\Migrate\d7

Code

protected function setUp() : void {
  parent::setUp();
  $this
    ->migrateContentTypes();
  $this
    ->migrateCommentTypes();
  $this
    ->executeMigrations([
    'd7_comment_field',
    'd7_comment_field_instance',
    'd7_comment_entity_display',
  ]);
}