You are here

protected function FeedsSchedulerTestCase::runCron in Feeds 7

Helper, run cron.

2 calls to FeedsSchedulerTestCase::runCron()
FeedsSchedulerTestCase::testBatching in tests/feeds_scheduler.test
Test batching on cron.
FeedsSchedulerTestCase::testScheduling in tests/feeds_scheduler.test
Test scheduling on cron.

File

tests/feeds_scheduler.test, line 274
Feeds tests.

Class

FeedsSchedulerTestCase
Test cron scheduling.

Code

protected function runCron($sleep = 0) {
  $this
    ->drupalGet($GLOBALS['base_url'] . '/cron.php');
  sleep($sleep);
}