diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-21 07:50:08 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-08-21 07:50:08 +0000 |
commit | 716293e0fbf1155b8e78c4bd2762c98275b8e6cb (patch) | |
tree | a8dd7691cd035f407268e41969ffbb033871bc36 /modules/simpletest/tests/module.test | |
parent | d151ea91004abd0c771dfeea380ff4fef0fbf248 (diff) | |
download | brdo-716293e0fbf1155b8e78c4bd2762c98275b8e6cb.tar.gz brdo-716293e0fbf1155b8e78c4bd2762c98275b8e6cb.tar.bz2 |
#509398 by adrian: Turned install profiles into modules with full access to the Drupal API. Almost all WTFs/minute now removed from install profiles. Woohoo! :D
Diffstat (limited to 'modules/simpletest/tests/module.test')
-rw-r--r-- | modules/simpletest/tests/module.test | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/simpletest/tests/module.test b/modules/simpletest/tests/module.test index ee95044e0..5c703c287 100644 --- a/modules/simpletest/tests/module.test +++ b/modules/simpletest/tests/module.test @@ -25,6 +25,10 @@ class ModuleUnitTest extends DrupalWebTestCase { // Build a list of modules, sorted alphabetically. $profile_info = install_profile_info('default', 'en'); $module_list = $profile_info['dependencies']; + + // Install profile is a module that is expected to be loaded. + $module_list[] = 'default'; + sort($module_list); // Compare this list to the one returned by module_list(). We expect them // to match, since all default profile modules have a weight equal to 0 |