3 namespace Drupal\Tests\config_translation\Kernel\Migrate\d6;
5 use Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase;
8 * Upgrade i18n maintenance variables to system.*.yml.
10 * @group migrate_drupal_6
12 class MigrateI18nSystemMaintenanceTest extends MigrateDrupal6TestBase {
14 public static $modules = ['language', 'config_translation'];
19 protected function setUp() {
21 $this->executeMigration('d6_i18n_system_maintenance');
25 * Tests migration of system (maintenance) variables to system.maintenance.yml.
27 public function testSystemMaintenance() {
28 $config = \Drupal::service('language_manager')->getLanguageConfigOverride('fr', 'system.maintenance');
29 $this->assertIdentical('fr - Drupal is currently under maintenance. We should be back shortly. Thank you for your patience.', $config->get('message'));