public function MigrateTextConfigsTest::testTextSettings in Drupal 8
Same name and namespace in other branches
- 9 core/modules/text/tests/src/Kernel/Migrate/MigrateTextConfigsTest.php \Drupal\Tests\text\Kernel\Migrate\MigrateTextConfigsTest::testTextSettings()
- 10 core/modules/text/tests/src/Kernel/Migrate/MigrateTextConfigsTest.php \Drupal\Tests\text\Kernel\Migrate\MigrateTextConfigsTest::testTextSettings()
Tests migration of text variables to text.settings.yml.
File
- core/
modules/ text/ tests/ src/ Kernel/ Migrate/ MigrateTextConfigsTest.php, line 28
Class
- MigrateTextConfigsTest
- Upgrade variables to text.settings.yml.
Namespace
Drupal\Tests\text\Kernel\MigrateCode
public function testTextSettings() {
$config = $this
->config('text.settings');
$this
->assertIdentical(456, $config
->get('default_summary_length'));
$this
->assertConfigSchema(\Drupal::service('config.typed'), 'text.settings', $config
->get());
}