protected function MigrateForumTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/forum/tests/src/Kernel/Migrate/d6/MigrateForumTest.php \Drupal\Tests\forum\Kernel\Migrate\d6\MigrateForumTest::setUp()
Overrides MigrateNodeTestBase::setUp
File
- core/
modules/ forum/ tests/ src/ Kernel/ Migrate/ d6/ MigrateForumTest.php, line 32
Class
- MigrateForumTest
- Tests forum migration from Drupal 6 to Drupal 8.
Namespace
Drupal\Tests\forum\Kernel\Migrate\d6Code
protected function setUp() {
parent::setUp();
$this
->installEntitySchema('comment');
$this
->installSchema('comment', [
'comment_entity_statistics',
]);
$this
->installSchema('forum', [
'forum',
'forum_index',
]);
$this
->installConfig([
'comment',
'forum',
]);
$this
->migrateContent();
$this
->migrateTaxonomy();
$this
->executeMigrations([
'd6_comment_type',
'd6_comment_field',
'd6_comment_field_instance',
'd6_comment_entity_display',
'd6_comment_entity_form_display',
'd6_comment',
'd6_term_node',
]);
}