protected function MigrateCommentFieldInstanceTest::setUp in Drupal 10
Same name in this branch
- 10 core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentFieldInstanceTest.php \Drupal\Tests\comment\Kernel\Migrate\d6\MigrateCommentFieldInstanceTest::setUp()
- 10 core/modules/comment/tests/src/Kernel/Migrate/d7/MigrateCommentFieldInstanceTest.php \Drupal\Tests\comment\Kernel\Migrate\d7\MigrateCommentFieldInstanceTest::setUp()
Same name and namespace in other branches
- 8 core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentFieldInstanceTest.php \Drupal\Tests\comment\Kernel\Migrate\d6\MigrateCommentFieldInstanceTest::setUp()
- 9 core/modules/comment/tests/src/Kernel/Migrate/d6/MigrateCommentFieldInstanceTest.php \Drupal\Tests\comment\Kernel\Migrate\d6\MigrateCommentFieldInstanceTest::setUp()
Overrides MigrateDrupal6TestBase::setUp
File
- core/
modules/ comment/ tests/ src/ Kernel/ Migrate/ d6/ MigrateCommentFieldInstanceTest.php, line 24
Class
- MigrateCommentFieldInstanceTest
- Tests the migration of comment field instances from Drupal 6.
Namespace
Drupal\Tests\comment\Kernel\Migrate\d6Code
protected function setUp() : void {
parent::setUp();
$this
->installConfig([
'comment',
]);
$this
->migrateContentTypes();
$this
->executeMigrations([
'd6_comment_type',
'd6_comment_field',
'd6_comment_field_instance',
]);
}