3 namespace Drupal\Tests\syslog\Functional\Update;
5 use Drupal\FunctionalTests\Update\UpdatePathTestBase;
8 * Tests that syslog settings are properly updated during database updates.
12 class SyslogUpdateTest extends UpdatePathTestBase {
17 protected function setDatabaseDumpFiles() {
18 $this->databaseDumpFiles = [
19 __DIR__ . '/../../../../../system/tests/fixtures/update/drupal-8.filled.standard.php.gz',
24 * Tests that syslog.settings.facility has been converted from string to int.
26 * @see syslog_update_8400()
28 public function testSyslogSettingsFacilityDataType() {
29 $config = $this->config('syslog.settings');
30 $this->assertIdentical('128', $config->get('facility'));
35 $config = $this->config('syslog.settings');
36 $this->assertIdentical(128, $config->get('facility'));