protected function DrupalWebTestCase::cronRun

7.x drupal_web_test_case.php protected DrupalWebTestCase::cronRun()

Runs cron in the Drupal installed by Simpletest.

13 calls to DrupalWebTestCase::cronRun()
CronRunTestCase::testCronExceptions in drupal-7.x/modules/system/system.test
Make sure exceptions thrown on hook_cron() don't affect other modules.
CronRunTestCase::testTempFileCleanup in drupal-7.x/modules/system/system.test
Ensure that temporary files are removed.
DBLogTestCase::verifyCron in drupal-7.x/modules/dblog/dblog.test
Verifies that cron correctly applies the database log row limit.
FloodFunctionalTest::testCleanUp in drupal-7.x/modules/system/system.test
Test flood control mechanism clean-up.
SearchCommentTestCase::checkCommentAccess in drupal-7.x/modules/search/search.test
Update search index and search for comment.

... See full list

File

drupal-7.x/modules/simpletest/drupal_web_test_case.php, line 2296

Class

DrupalWebTestCase
Test case for typical Drupal tests.

Code

protected function cronRun() {
  $this->drupalGet($GLOBALS['base_url'] . '/cron.php', array('external' => TRUE, 'query' => array('cron_key' => variable_get('cron_key', 'drupal'))));
}