Unverified Commit 54252710 authored by alexpott's avatar alexpott

Issue #3187415 by Shashwat Purav, abhisekmazumdar, anmolgoyal74, Wim Leers,...

Issue #3187415 by Shashwat Purav, abhisekmazumdar, anmolgoyal74, Wim Leers, huzooka, quietone: Module settings translation migrations should depend on the default settings migration
parent 490eceaf
......@@ -16,3 +16,6 @@ destination:
plugin: config
config_name: system.maintenance
translations: true
migration_dependencies:
required:
- system_maintenance
......@@ -40,3 +40,6 @@ destination:
plugin: config
config_name: system.site
translations: true
migration_dependencies:
required:
- system_site
......@@ -70,3 +70,6 @@ destination:
plugin: config
config_name: user.mail
translations: true
migration_dependencies:
required:
- d6_user_mail
......@@ -31,3 +31,6 @@ destination:
plugin: config
config_name: user.settings
translations: true
migration_dependencies:
required:
- d6_user_settings
......@@ -15,3 +15,6 @@ destination:
plugin: config
config_name: system.maintenance
translations: true
migration_dependencies:
required:
- system_maintenance
......@@ -17,3 +17,6 @@ destination:
plugin: config
config_name: system.site
translations: true
migration_dependencies:
required:
- system_site
......@@ -77,3 +77,6 @@ destination:
plugin: config
config_name: user.mail
translations: true
migration_dependencies:
required:
- d7_user_mail
......@@ -15,3 +15,6 @@ destination:
plugin: config
config_name: user.settings
translations: true
migration_dependencies:
required:
- d7_user_settings
......@@ -21,6 +21,7 @@ class MigrateSystemMaintenanceTranslationTest extends MigrateDrupal6TestBase {
*/
protected function setUp(): void {
parent::setUp();
$this->executeMigration('system_maintenance');
$this->executeMigration('d6_system_maintenance_translation');
}
......
......@@ -21,6 +21,7 @@ class MigrateSystemSiteTranslationTest extends MigrateDrupal6TestBase {
*/
protected function setUp(): void {
parent::setUp();
$this->executeMigration('system_site');
$this->executeMigration('d6_system_site_translation');
}
......
......@@ -27,7 +27,12 @@ protected function setUp(): void {
parent::setUp();
$this->installSchema('locale',
['locales_source', 'locales_target', 'locales_location']);
$this->executeMigrations(['d6_user_mail_translation', 'd6_user_settings_translation']);
$this->executeMigrations([
'd6_user_mail',
'd6_user_settings',
'd6_user_mail_translation',
'd6_user_settings_translation',
]);
}
/**
......
......@@ -21,6 +21,7 @@ class MigrateSystemMaintenanceTranslationTest extends MigrateDrupal7TestBase {
*/
protected function setUp(): void {
parent::setUp();
$this->executeMigration('system_maintenance');
$this->executeMigration('d7_system_maintenance_translation');
}
......
......@@ -24,6 +24,7 @@ class MigrateSystemSiteTranslationTest extends MigrateDrupal7TestBase {
*/
protected function setUp(): void {
parent::setUp();
$this->executeMigration('system_site');
$this->executeMigration('d7_system_site_translation');
}
......
......@@ -34,6 +34,8 @@ protected function setUp(): void {
'locales_location',
]);
$this->executeMigrations([
'd7_user_mail',
'd7_user_settings',
'd7_user_mail_translation',
'd7_user_settings_translation',
]);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment