Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
project
drupal
Commits
f2e8aeff
Commit
f2e8aeff
authored
Feb 06, 2009
by
Angie Byron
Browse files
#369413
by bjaspan: Reset Field API caches in DrupalWebTestCase->tearDown().
parent
db21c413
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/simpletest/drupal_web_test_case.php
View file @
f2e8aeff
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment