Commit f2e8aeff authored by webchick's avatar webchick

#369413 by bjaspan: Reset Field API caches in DrupalWebTestCase->tearDown().

parent db21c413
......@@ -928,6 +928,9 @@ protected function tearDown() {
module_list(TRUE);
module_implements(MODULE_IMPLEMENTS_CLEAR_CACHE);
// Reset the Field API.
field_cache_clear();
// Rebuild caches.
$this->refreshVariables();
......
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