X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fsystem%2Ftests%2Fsrc%2FFunctional%2FUpdate%2FAutomatedCronUpdateWithAutomatedCronTest.php;fp=web%2Fcore%2Fmodules%2Fsystem%2Ftests%2Fsrc%2FFunctional%2FUpdate%2FAutomatedCronUpdateWithAutomatedCronTest.php;h=50926c935cf33a250d2b52f60f39ada5ae5110b9;hp=0000000000000000000000000000000000000000;hb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;hpb=aea91e65e895364e460983b890e295aa5d5540a5 diff --git a/web/core/modules/system/tests/src/Functional/Update/AutomatedCronUpdateWithAutomatedCronTest.php b/web/core/modules/system/tests/src/Functional/Update/AutomatedCronUpdateWithAutomatedCronTest.php new file mode 100644 index 000000000..50926c935 --- /dev/null +++ b/web/core/modules/system/tests/src/Functional/Update/AutomatedCronUpdateWithAutomatedCronTest.php @@ -0,0 +1,33 @@ +databaseDumpFiles = [ + __DIR__ . '/../../../../tests/fixtures/update/drupal-8.bare.standard.php.gz', + ]; + } + + /** + * Ensures that automated cron module isn installed and the config migrated. + */ + public function testUpdate() { + $this->runUpdates(); + + $module_data = \Drupal::config('core.extension')->get('module'); + $this->assertTrue(isset($module_data['automated_cron']), 'The automated cron module was installed.'); + } + +}