diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-07-15 02:08:41 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2009-07-15 02:08:41 +0000 |
commit | b692036962b8d2c5c2b12749cf662d537a889375 (patch) | |
tree | dc7d6b70c5b91835373b474f3a7c4f4404541f55 /modules/simpletest | |
parent | 3472adb2ca21c815ff0fdbc63e21b03029fc051c (diff) | |
download | brdo-b692036962b8d2c5c2b12749cf662d537a889375.tar.gz brdo-b692036962b8d2c5c2b12749cf662d537a889375.tar.bz2 |
#509392 by adrian: Add .info files for installation profiles.
Diffstat (limited to 'modules/simpletest')
-rw-r--r-- | modules/simpletest/drupal_web_test_case.php | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php index 4e0d55ffb..8b5655d51 100644 --- a/modules/simpletest/drupal_web_test_case.php +++ b/modules/simpletest/drupal_web_test_case.php @@ -1033,10 +1033,13 @@ class DrupalWebTestCase extends DrupalTestCase { $this->preloadRegistry(); + // Include the default profile + require_once("./profiles/default/default.profile"); + $profile_details = install_profile_info('default', 'en'); + // Add the specified modules to the list of modules in the default profile. // Install the modules specified by the default profile. - $core_modules = drupal_get_profile_modules('default', 'en'); - drupal_install_modules($core_modules, TRUE); + drupal_install_modules($profile_details['dependencies'], TRUE); node_type_clear(); |