diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-11-05 15:54:56 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-11-05 15:54:56 +0000 |
commit | dc1af5e2909258358348a17b17a3f87850396e32 (patch) | |
tree | 176d60ea2503a6d99d305bec0369373587f298c3 | |
parent | 9a0618b98f0befd74a2230548f7bb837093eeb84 (diff) | |
download | brdo-dc1af5e2909258358348a17b17a3f87850396e32.tar.gz brdo-dc1af5e2909258358348a17b17a3f87850396e32.tar.bz2 |
- Patch #321161 by Damien Tournoud: properly flush cache between tests.
-rw-r--r-- | modules/simpletest/drupal_web_test_case.php | 4 |
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(); |