Commit 7e8709b2 authored by Dries's avatar Dries
Browse files

- Patch #566494 by Damien Tournoud: fixed page cache tests and update tests.

parent 08b59883
......@@ -1168,6 +1168,10 @@ protected function setUp() {
$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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment