function CronLoggingUpdateTest::testUpdate
Tests update of system.cron:logging.
File
-
core/
modules/ system/ tests/ src/ Functional/ Update/ CronLoggingUpdateTest.php, line 37
Class
- CronLoggingUpdateTest
- Tests update of system.cron:logging.
Namespace
Drupal\Tests\system\Functional\UpdateCode
public function testUpdate() : void {
$logging_before = $this->config('system.cron')
->get('logging');
$this->assertIsNotBool($logging_before);
$this->runUpdates();
$logging_after = $this->config('system.cron')
->get('logging');
$this->assertIsBool($logging_after);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.