From 1d09ec33bdcbcc761a6526e8982859600bd6958e Mon Sep 17 00:00:00 2001 From: Angie Byron Date: Tue, 13 Oct 2009 05:37:46 +0000 Subject: #602958 by chx: Added API function to SimpleTest to run cron, avoiding fatal errors. --- modules/trigger/trigger.test | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/trigger') 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); -- cgit v1.2.3