diff --git a/core/modules/system/tests/src/Functional/System/StatusTest.php b/core/modules/system/tests/src/Functional/System/StatusTest.php index c902a37..72f3058 100644 --- a/core/modules/system/tests/src/Functional/System/StatusTest.php +++ b/core/modules/system/tests/src/Functional/System/StatusTest.php @@ -52,6 +52,10 @@ public function testStatusPage() { $phpversion = phpversion(); $this->assertText($phpversion, 'Php version is shown on the page.'); + $cron_url = Url::fromRoute('system.cron', ['key' => \Drupal::state()->get('system.cron_key')], ['absolute' => TRUE])->toString(); + $this->assertSession()->pageTextContains($cron_url); + $this->assertSession()->linkByHrefExists($cron_url); + // Checks if the suggestion to update to php 5.5.21 or 5.6.5 for disabling // multiple statements is present when necessary. if (\Drupal::database()->driver() === 'mysql' && !SystemRequirements::phpVersionWithPdoDisallowMultipleStatements($phpversion)) {