function MigrateSyslogConfigsTest::testSyslogSettings
Same name in this branch
- 9 core/modules/syslog/tests/src/Kernel/Migrate/d7/MigrateSyslogConfigsTest.php \Drupal\Tests\syslog\Kernel\Migrate\d7\MigrateSyslogConfigsTest::testSyslogSettings()
Same name in other branches
- 8.9.x core/modules/syslog/tests/src/Kernel/Migrate/d6/MigrateSyslogConfigsTest.php \Drupal\Tests\syslog\Kernel\Migrate\d6\MigrateSyslogConfigsTest::testSyslogSettings()
- 8.9.x core/modules/syslog/tests/src/Kernel/Migrate/d7/MigrateSyslogConfigsTest.php \Drupal\Tests\syslog\Kernel\Migrate\d7\MigrateSyslogConfigsTest::testSyslogSettings()
- 10 core/modules/syslog/tests/src/Kernel/Migrate/d6/MigrateSyslogConfigsTest.php \Drupal\Tests\syslog\Kernel\Migrate\d6\MigrateSyslogConfigsTest::testSyslogSettings()
- 10 core/modules/syslog/tests/src/Kernel/Migrate/d7/MigrateSyslogConfigsTest.php \Drupal\Tests\syslog\Kernel\Migrate\d7\MigrateSyslogConfigsTest::testSyslogSettings()
- 11.x core/modules/syslog/tests/src/Kernel/Migrate/d6/MigrateSyslogConfigsTest.php \Drupal\Tests\syslog\Kernel\Migrate\d6\MigrateSyslogConfigsTest::testSyslogSettings()
- 11.x core/modules/syslog/tests/src/Kernel/Migrate/d7/MigrateSyslogConfigsTest.php \Drupal\Tests\syslog\Kernel\Migrate\d7\MigrateSyslogConfigsTest::testSyslogSettings()
Tests migration of syslog variables to syslog.settings.yml.
File
-
core/
modules/ syslog/ tests/ src/ Kernel/ Migrate/ d6/ MigrateSyslogConfigsTest.php, line 38
Class
- MigrateSyslogConfigsTest
- Upgrade variables to syslog.settings.yml.
Namespace
Drupal\Tests\syslog\Kernel\Migrate\d6Code
public function testSyslogSettings() {
$config = $this->config('syslog.settings');
$this->assertSame('drupal', $config->get('identity'));
$this->assertSame(128, $config->get('facility'));
$this->assertConfigSchema(\Drupal::service('config.typed'), 'syslog.settings', $config->get());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.