From 7e8709b2dc0236232451d02a8cf440f290f6c63f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 9 Feb 2010 12:28:39 +0000 Subject: - Patch #566494 by Damien Tournoud: fixed page cache tests and update tests. --- modules/simpletest/drupal_web_test_case.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'modules/simpletest/drupal_web_test_case.php') diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php index 4c15e884d..b8bdb38b2 100644 --- a/modules/simpletest/drupal_web_test_case.php +++ b/modules/simpletest/drupal_web_test_case.php @@ -1168,6 +1168,10 @@ class DrupalWebTestCase extends DrupalTestCase { $this->refreshVariables(); $this->checkPermissions(array(), TRUE); + // Run cron once in that environment, as install.php does at the end of + // the installation process. + drupal_cron_run(); + // Log in with a clean $user. $this->originalUser = $user; drupal_save_session(FALSE); -- cgit v1.2.3