Skip to content
Snippets Groups Projects
Commit d722c969 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

- Patch #265498 by boombatower et al: tearDown() doesn't reset the module list.

parent 3f052180
No related branches found
No related tags found
No related merge requests found
......@@ -441,6 +441,12 @@ function tearDown() {
// 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.
module_list(TRUE);
// Rebuild caches.
$this->refreshVariables();
// Close the CURL handler.
$this->curlClose();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment