summaryrefslogtreecommitdiff
path: root/modules/simpletest/drupal_web_test_case.php
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-02-06 00:30:36 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-02-06 00:30:36 +0000
commitf2e8aeff804a589a06628751079a5aa53589f914 (patch)
treee0dd4e7c3e514e3b5c9eff3f9909d8ccfed132b3 /modules/simpletest/drupal_web_test_case.php
parentdb21c413442aa3da601eaa6d4263165fd1c5ea7b (diff)
downloadbrdo-f2e8aeff804a589a06628751079a5aa53589f914.tar.gz
brdo-f2e8aeff804a589a06628751079a5aa53589f914.tar.bz2
#369413 by bjaspan: Reset Field API caches in DrupalWebTestCase->tearDown().
Diffstat (limited to 'modules/simpletest/drupal_web_test_case.php')
-rw-r--r--modules/simpletest/drupal_web_test_case.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php
index 5bb27dc2a..9aad62dd9 100644
--- a/modules/simpletest/drupal_web_test_case.php
+++ b/modules/simpletest/drupal_web_test_case.php
@@ -928,6 +928,9 @@ class DrupalWebTestCase {
module_list(TRUE);
module_implements(MODULE_IMPLEMENTS_CLEAR_CACHE);
+ // Reset the Field API.
+ field_cache_clear();
+
// Rebuild caches.
$this->refreshVariables();