if module_exists() is called during set-up, the result is wrong because the static variable is not refreshed until after the modules are installed.

Patch for Drupal 7 at http://drupal.org/node/440824.

CommentFileSizeAuthor
simpletest.patch1.65 KBdarren oh

Comments

boombatower’s picture

Status: Needs review » Postponed

I backport from D7 every month - 2 months which this will then be included if it makes it into core. I plan to backport soon.

dave reid’s picture

kenorb’s picture

What's correct duplicate? #440824: Reset module_list() and module_implements() on test setup. is duplicate as well.
Where is the latest patch for current issue?
I'm lost.