3 namespace Drupal\Tests\syslog\Kernel\Migrate\d6;
5 use Drupal\Tests\SchemaCheckTestTrait;
6 use Drupal\Tests\migrate_drupal\Kernel\d6\MigrateDrupal6TestBase;
9 * Upgrade variables to syslog.settings.yml.
11 * @group migrate_drupal_6
13 class MigrateSyslogConfigsTest extends MigrateDrupal6TestBase {
15 use SchemaCheckTestTrait;
20 public static $modules = ['syslog'];
25 protected function setUp() {
27 $this->executeMigration('d6_syslog_settings');
31 * Tests migration of syslog variables to syslog.settings.yml.
33 public function testSyslogSettings() {
34 $config = $this->config('syslog.settings');
35 $this->assertIdentical('drupal', $config->get('identity'));
36 $this->assertIdentical(128, $config->get('facility'));
37 $this->assertConfigSchema(\Drupal::service('config.typed'), 'syslog.settings', $config->get());