You are here

function StatisticsProBaseTestCase::callCron in Statistics Pro 6

Same name and namespace in other branches
  1. 6.2 tests/statspro.test \StatisticsProBaseTestCase::callCron()
3 calls to StatisticsProBaseTestCase::callCron()
StatisticsProTestCase::testMainTests in tests/statspro.test
StatsproTestCase::testInitialState in tests/statspro.test
StatsproTestCase::testPosNavegationState in tests/statspro.test

File

tests/statspro.test, line 173
Functionality tests for Statistics Pro.

Class

StatisticsProBaseTestCase
Base class for Statistics Pro tests.

Code

function callCron() {
  $this
    ->drupalLogin($this->users['stats_admin']);
  $this
    ->drupalGet('/admin/reports/status/run-cron');
  $this
    ->drupalLogout();
}