protected function MigrateEntityTranslationSettingsTest::setUp in Drupal 8
Same name and namespace in other branches
- 9 core/modules/content_translation/tests/src/Kernel/Migrate/d7/MigrateEntityTranslationSettingsTest.php \Drupal\Tests\content_translation\Kernel\Migrate\d7\MigrateEntityTranslationSettingsTest::setUp()
Overrides MigrateDrupal7TestBase::setUp
File
- core/
modules/ content_translation/ tests/ src/ Kernel/ Migrate/ d7/ MigrateEntityTranslationSettingsTest.php, line 32
Class
- MigrateEntityTranslationSettingsTest
- Tests the migration of entity translation settings.
Namespace
Drupal\Tests\content_translation\Kernel\Migrate\d7Code
protected function setUp() {
parent::setUp();
$this
->installConfig([
'comment',
'content_translation',
'node',
'taxonomy',
'user',
]);
$this
->installEntitySchema('comment');
$this
->installEntitySchema('node');
$this
->installEntitySchema('taxonomy_term');
$this
->installEntitySchema('user');
$this
->executeMigrations([
'd7_comment_type',
'd7_node_type',
'd7_taxonomy_vocabulary',
'd7_entity_translation_settings',
]);
}