diff options
author | Dries Buytaert <dries@buytaert.net> | 2010-02-09 12:28:39 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2010-02-09 12:28:39 +0000 |
commit | 7e8709b2dc0236232451d02a8cf440f290f6c63f (patch) | |
tree | 3bc8a82a761a9c10b1c5affec9d7d27ce4d054fb /modules | |
parent | 08b598837f309594adbd4ea27b00f8ad13f5b433 (diff) | |
download | brdo-7e8709b2dc0236232451d02a8cf440f290f6c63f.tar.gz brdo-7e8709b2dc0236232451d02a8cf440f290f6c63f.tar.bz2 |
- Patch #566494 by Damien Tournoud: fixed page cache tests and update tests.
Diffstat (limited to 'modules')
-rw-r--r-- | modules/simpletest/drupal_web_test_case.php | 4 |
1 files changed, 4 insertions, 0 deletions
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); |