Loading core/modules/config/tests/config_override_test/config/install/system.cron.yml +1 −1 Original line number Diff line number Diff line threshold: requirements_warning: 172800 requirements_error: 1209600 logging: 1 logging: true core/modules/config/tests/src/Functional/ConfigInstallProfileOverrideTest.php +2 −2 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ public function testInstallProfileConfigOverwrite() { 'requirements_warning' => 172800, 'requirements_error' => 1209600, ], 'logging' => 1, 'logging' => TRUE, ]; // The expected active configuration altered by the install profile. $expected_profile_data = [ Loading @@ -54,7 +54,7 @@ public function testInstallProfileConfigOverwrite() { 'requirements_warning' => 259200, 'requirements_error' => 1209600, ], 'logging' => 1, 'logging' => TRUE, ]; $expected_profile_data = ['_core' => ['default_config_hash' => Crypt::hashBase64(serialize($expected_profile_data))]] + $expected_profile_data; Loading core/modules/dblog/tests/src/Kernel/DbLogTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ function (callable $hook, string $module) use (&$implementation_count) { $this->assertEquals($expected_count, $cron_detailed_count, "Cron added $cron_detailed_count of $expected_count new log entries"); // Test disabling of detailed cron logging. $this->config('system.cron')->set('logging', 0)->save(); $this->config('system.cron')->set('logging', FALSE)->save(); $cron_count = $this->runCron(); $this->assertEquals(1, $cron_count, "Cron added $cron_count of 1 new log entries"); } Loading core/modules/system/config/install/system.cron.yml +1 −1 Original line number Diff line number Diff line threshold: requirements_warning: 172800 requirements_error: 1209600 logging: 1 logging: true core/modules/system/config/schema/system.schema.yml +11 −1 Original line number Diff line number Diff line Loading @@ -58,6 +58,8 @@ system.maintenance: system.cron: type: config_object label: 'Cron settings' constraints: FullyValidatable: ~ mapping: threshold: type: mapping Loading @@ -66,11 +68,19 @@ system.cron: requirements_warning: type: integer label: 'Requirements warning period' constraints: # @see system_requirements() Range: min: 60 requirements_error: type: integer label: 'Requirements error period' constraints: # @see system_requirements() Range: min: 300 logging: type: integer type: boolean label: 'Detailed cron logging' system.date: Loading Loading
core/modules/config/tests/config_override_test/config/install/system.cron.yml +1 −1 Original line number Diff line number Diff line threshold: requirements_warning: 172800 requirements_error: 1209600 logging: 1 logging: true
core/modules/config/tests/src/Functional/ConfigInstallProfileOverrideTest.php +2 −2 Original line number Diff line number Diff line Loading @@ -46,7 +46,7 @@ public function testInstallProfileConfigOverwrite() { 'requirements_warning' => 172800, 'requirements_error' => 1209600, ], 'logging' => 1, 'logging' => TRUE, ]; // The expected active configuration altered by the install profile. $expected_profile_data = [ Loading @@ -54,7 +54,7 @@ public function testInstallProfileConfigOverwrite() { 'requirements_warning' => 259200, 'requirements_error' => 1209600, ], 'logging' => 1, 'logging' => TRUE, ]; $expected_profile_data = ['_core' => ['default_config_hash' => Crypt::hashBase64(serialize($expected_profile_data))]] + $expected_profile_data; Loading
core/modules/dblog/tests/src/Kernel/DbLogTest.php +1 −1 Original line number Diff line number Diff line Loading @@ -55,7 +55,7 @@ function (callable $hook, string $module) use (&$implementation_count) { $this->assertEquals($expected_count, $cron_detailed_count, "Cron added $cron_detailed_count of $expected_count new log entries"); // Test disabling of detailed cron logging. $this->config('system.cron')->set('logging', 0)->save(); $this->config('system.cron')->set('logging', FALSE)->save(); $cron_count = $this->runCron(); $this->assertEquals(1, $cron_count, "Cron added $cron_count of 1 new log entries"); } Loading
core/modules/system/config/install/system.cron.yml +1 −1 Original line number Diff line number Diff line threshold: requirements_warning: 172800 requirements_error: 1209600 logging: 1 logging: true
core/modules/system/config/schema/system.schema.yml +11 −1 Original line number Diff line number Diff line Loading @@ -58,6 +58,8 @@ system.maintenance: system.cron: type: config_object label: 'Cron settings' constraints: FullyValidatable: ~ mapping: threshold: type: mapping Loading @@ -66,11 +68,19 @@ system.cron: requirements_warning: type: integer label: 'Requirements warning period' constraints: # @see system_requirements() Range: min: 60 requirements_error: type: integer label: 'Requirements error period' constraints: # @see system_requirements() Range: min: 300 logging: type: integer type: boolean label: 'Detailed cron logging' system.date: Loading