public function MigrateSyslogConfigsTest::testSyslogSettings in Zircon Profile 8
Same name in this branch
- 8 core/modules/syslog/src/Tests/Migrate/d6/MigrateSyslogConfigsTest.php \Drupal\syslog\Tests\Migrate\d6\MigrateSyslogConfigsTest::testSyslogSettings()
- 8 core/modules/syslog/src/Tests/Migrate/d7/MigrateSyslogConfigsTest.php \Drupal\syslog\Tests\Migrate\d7\MigrateSyslogConfigsTest::testSyslogSettings()
Same name and namespace in other branches
- 8.0 core/modules/syslog/src/Tests/Migrate/d6/MigrateSyslogConfigsTest.php \Drupal\syslog\Tests\Migrate\d6\MigrateSyslogConfigsTest::testSyslogSettings()
Tests migration of syslog variables to syslog.settings.yml.
File
- core/
modules/ syslog/ src/ Tests/ Migrate/ d6/ MigrateSyslogConfigsTest.php, line 38 - Contains \Drupal\syslog\Tests\Migrate\d6\MigrateSyslogConfigsTest.
Class
- MigrateSyslogConfigsTest
- Upgrade variables to syslog.settings.yml.
Namespace
Drupal\syslog\Tests\Migrate\d6Code
public function testSyslogSettings() {
$config = $this
->config('syslog.settings');
$this
->assertIdentical('drupal', $config
->get('identity'));
$this
->assertIdentical('128', $config
->get('facility'));
$this
->assertConfigSchema(\Drupal::service('config.typed'), 'syslog.settings', $config
->get());
}