Runs cron in the Drupal installed by Simpletest.
File
- drupal/core/modules/simpletest/lib/Drupal/simpletest/WebTestBase.php, line 1451
- Definition of Drupal\simpletest\WebTestBase.
Class
- WebTestBase
- Test case for typical Drupal tests.
Namespace
Drupal\simpletest
Code
protected function cronRun() {
$this
->drupalGet('cron/' . state()
->get('system.cron_key'));
}