3 namespace Drupal\system\Tests\Update;
6 * Ensures that the automated cron module is installed on update.
10 class AutomatedCronUpdateWithAutomatedCronTest extends UpdatePathTestBase {
15 protected function setDatabaseDumpFiles() {
16 $this->databaseDumpFiles = [
17 __DIR__ . '/../../../tests/fixtures/update/drupal-8.bare.standard.php.gz',
22 * Ensures that automated cron module isn installed and the config migrated.
24 public function testUpdate() {
27 $module_data = \Drupal::config('core.extension')->get('module');
28 $this->assertTrue(isset($module_data['automated_cron']), 'The automated cron module was installed.');