summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/simpletest/drupal_web_test_case.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php
index 2a0c38c26..43795312b 100644
--- a/modules/simpletest/drupal_web_test_case.php
+++ b/modules/simpletest/drupal_web_test_case.php
@@ -770,8 +770,10 @@ class DrupalWebTestCase {
// Ensure that the internal logged in variable is reset.
$this->_logged_in = FALSE;
- // Reload module list to ensure that test module hooks aren't called after tests.
+ // Reload module list and implementations to ensure that test module hooks
+ // aren't called after tests.
module_list(TRUE);
+ module_implements(MODULE_IMPLEMENTS_CLEAR_CACHE);
// Rebuild caches.
$this->refreshVariables();