You are here

protected function MigrateDrupal7TestBase::migrateCommentTypes in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/migrate_drupal/tests/src/Kernel/d7/MigrateDrupal7TestBase.php \Drupal\Tests\migrate_drupal\Kernel\d7\MigrateDrupal7TestBase::migrateCommentTypes()

Migrates comment types.

11 calls to MigrateDrupal7TestBase::migrateCommentTypes()
MigrateCommentEntityDisplayTest::setUp in core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentEntityDisplayTest.php
MigrateCommentEntityFormDisplaySubjectTest::setUp in core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentEntityFormDisplaySubjectTest.php
MigrateCommentEntityFormDisplayTest::setUp in core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentEntityFormDisplayTest.php
MigrateCommentFieldInstanceTest::setUp in core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentFieldInstanceTest.php
MigrateCommentFieldTest::setUp in core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentFieldTest.php

... See full list

File

core/modules/migrate_drupal/tests/src/Kernel/d7/MigrateDrupal7TestBase.php, line 77

Class

MigrateDrupal7TestBase
Base class for Drupal 7 migration tests.

Namespace

Drupal\Tests\migrate_drupal\Kernel\d7

Code

protected function migrateCommentTypes() {
  $this
    ->installConfig([
    'comment',
  ]);
  $this
    ->executeMigration('d7_comment_type');
}