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