public function MigrateLocaleConfigsTest::testLocaleSettings in Drupal 10
Same name and namespace in other branches
- 8 core/modules/locale/tests/src/Kernel/Migrate/MigrateLocaleConfigsTest.php \Drupal\Tests\locale\Kernel\Migrate\MigrateLocaleConfigsTest::testLocaleSettings()
- 9 core/modules/locale/tests/src/Kernel/Migrate/MigrateLocaleConfigsTest.php \Drupal\Tests\locale\Kernel\Migrate\MigrateLocaleConfigsTest::testLocaleSettings()
Tests migration of locale variables to locale.settings.yml.
File
- core/
modules/ locale/ tests/ src/ Kernel/ Migrate/ MigrateLocaleConfigsTest.php, line 33
Class
- MigrateLocaleConfigsTest
- Upgrade variables to locale.settings.yml.
Namespace
Drupal\Tests\locale\Kernel\MigrateCode
public function testLocaleSettings() {
$config = $this
->config('locale.settings');
$this
->assertTrue($config
->get('cache_strings'));
$this
->assertSame('languages', $config
->get('javascript.directory'));
$this
->assertConfigSchema(\Drupal::service('config.typed'), 'locale.settings', $config
->get());
}