diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-10-13 05:37:46 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-10-13 05:37:46 +0000 |
commit | 1d09ec33bdcbcc761a6526e8982859600bd6958e (patch) | |
tree | a609d11f02df1fab68279b4bc47fdd2723cbad8b /modules/trigger | |
parent | 89d04ea78a1d422b2dc21cd9e6e10344674632a1 (diff) | |
download | brdo-1d09ec33bdcbcc761a6526e8982859600bd6958e.tar.gz brdo-1d09ec33bdcbcc761a6526e8982859600bd6958e.tar.bz2 |
#602958 by chx: Added API function to SimpleTest to run cron, avoiding fatal errors.
Diffstat (limited to 'modules/trigger')
-rw-r--r-- | modules/trigger/trigger.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/trigger/trigger.test b/modules/trigger/trigger.test index 99a001640..7204dc395 100644 --- a/modules/trigger/trigger.test +++ b/modules/trigger/trigger.test @@ -165,7 +165,7 @@ class TriggerCronTestCase extends DrupalWebTestCase { $this->drupalPost('admin/structure/trigger/system', $edit, t('Assign')); // Force a cron run. - drupal_cron_run(); + $this->cronRun(); // Make sure the non-configurable action has fired. $action_run = variable_get('trigger_test_system_cron_action', FALSE); |