X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fsyslog%2Ftests%2Fsrc%2FKernel%2FMigrate%2Fd6%2FMigrateSyslogConfigsTest.php;fp=web%2Fcore%2Fmodules%2Fsyslog%2Ftests%2Fsrc%2FKernel%2FMigrate%2Fd6%2FMigrateSyslogConfigsTest.php;h=aa66203113d6ff96680c44567931d00c82a24247;hb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;hp=0000000000000000000000000000000000000000;hpb=57c063afa3f66b07c4bbddc2d6129a96d90f0aad;p=yaffs-website diff --git a/web/core/modules/syslog/tests/src/Kernel/Migrate/d6/MigrateSyslogConfigsTest.php b/web/core/modules/syslog/tests/src/Kernel/Migrate/d6/MigrateSyslogConfigsTest.php new file mode 100644 index 000000000..aa6620311 --- /dev/null +++ b/web/core/modules/syslog/tests/src/Kernel/Migrate/d6/MigrateSyslogConfigsTest.php @@ -0,0 +1,40 @@ +executeMigration('d6_syslog_settings'); + } + + /** + * Tests migration of syslog variables to syslog.settings.yml. + */ + 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()); + } + +}