summaryrefslogtreecommitdiff
path: root/modules/simpletest
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2009-07-19 04:48:10 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2009-07-19 04:48:10 +0000
commit48e41d314e7ed278f131e705fbfd0dd6b766a83d (patch)
tree3f23becc9c1a8846d2964b78d30b0f168cfbcfa9 /modules/simpletest
parent3ccd437530bac14be8bdc3e3a503930d77aedd96 (diff)
downloadbrdo-48e41d314e7ed278f131e705fbfd0dd6b766a83d.tar.gz
brdo-48e41d314e7ed278f131e705fbfd0dd6b766a83d.tar.bz2
#509392 follow-up by adrian: Clean-up for .info files for install profiles patch.
Diffstat (limited to 'modules/simpletest')
-rw-r--r--modules/simpletest/tests/module.test3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/simpletest/tests/module.test b/modules/simpletest/tests/module.test
index b5967157f..ee95044e0 100644
--- a/modules/simpletest/tests/module.test
+++ b/modules/simpletest/tests/module.test
@@ -23,7 +23,8 @@ class ModuleUnitTest extends DrupalWebTestCase {
*/
function testModuleList() {
// Build a list of modules, sorted alphabetically.
- $module_list = drupal_get_profile_modules('default', 'en');
+ $profile_info = install_profile_info('default', 'en');
+ $module_list = $profile_info['dependencies'];
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