diff options
author | Dries Buytaert <dries@buytaert.net> | 2009-07-28 12:13:47 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2009-07-28 12:13:47 +0000 |
commit | aab51b93194701c45e32e63be31a979c9d9754aa (patch) | |
tree | c10b982d45fdfbc8ec711fbf256d2206c6a5f853 /modules/simpletest | |
parent | 1115fba0649997f77a70eb4d03b1e4ab1df2d56e (diff) | |
download | brdo-aab51b93194701c45e32e63be31a979c9d9754aa.tar.gz brdo-aab51b93194701c45e32e63be31a979c9d9754aa.tar.bz2 |
- Patch #524728 by David_Rothstein, JoshuaRogers, JacobSingh et al: refactor install.php to allow Drupal to be installed from the command line.
Diffstat (limited to 'modules/simpletest')
-rw-r--r-- | modules/simpletest/drupal_web_test_case.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php index 591224b7c..45272dc64 100644 --- a/modules/simpletest/drupal_web_test_case.php +++ b/modules/simpletest/drupal_web_test_case.php @@ -1056,8 +1056,8 @@ class DrupalWebTestCase extends DrupalTestCase { drupal_get_schema(NULL, TRUE); // Run default profile tasks. - $task = 'profile'; - default_profile_tasks($task, ''); + $install_state = array(); + default_profile_site_setup($install_state); // Rebuild caches. node_types_rebuild(); @@ -1073,7 +1073,7 @@ class DrupalWebTestCase extends DrupalTestCase { // Restore necessary variables. variable_set('install_profile', 'default'); - variable_set('install_task', 'profile-finished'); + variable_set('install_task', 'done'); variable_set('clean_url', $clean_url_original); variable_set('site_mail', 'simpletest@example.com'); // Set up English language. |