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