summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-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();