protected function DrupalWebTestCase::cronRun in SimpleTest 7
Same name and namespace in other branches
- 6.2 drupal_web_test_case.php \DrupalWebTestCase::cronRun()
- 7.2 drupal_web_test_case.php \DrupalWebTestCase::cronRun()
Runs cron in the Drupal installed by Simpletest.
File
- ./
drupal_web_test_case.php, line 1504
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'),
),
));
}