You are here

protected function DrupalWebTestCase::cronRun in SimpleTest 6.2

Same name and namespace in other branches
  1. 7.2 drupal_web_test_case.php \DrupalWebTestCase::cronRun()
  2. 7 drupal_web_test_case.php \DrupalWebTestCase::cronRun()

Runs cron in the Drupal installed by Simpletest.

File

./drupal_web_test_case.php, line 1771

Class

DrupalWebTestCase
Test case for typical Drupal tests.

Code

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