Closed (fixed)
Project:
SimpleTest
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jun 2007 at 23:56 UTC
Updated:
19 Jun 2009 at 19:29 UTC
Jump to comment: Most recent file
Comments
Comment #1
Rok Žlender commentedI looked into it. drupalModuleEnable function in drupal_unit_tests is rarely used thats why it hasnt been updated. Attached patch fixes modleEnable function and it is now equal to moduleEnable function in drupal_test_case.
If you can test it and let me know if it fixes your problems.
Comment #2
hadsie commentedHey Rok,
After some testing your patch appears to be working just fine.
Comment #3
Rok Žlender commentedAfter a bit of research I noticed that module_list is not necessary when you call module_enable because thats already done. So now I removed call to module_list where we enable modules with module_enable.
Comment #4
hadsie commentedAfter a few simple tests this seems to still be working ;)
Comment #5
Rok Žlender commentedCommitted to drupal 5 and HEAD thanks Scott for testing.
Comment #6
(not verified) commentedComment #7
kenorb commented#496198: module_list() called with wrong arguments causing WSOD and breaking theme_registry