From aab51b93194701c45e32e63be31a979c9d9754aa Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Tue, 28 Jul 2009 12:13:47 +0000 Subject: - Patch #524728 by David_Rothstein, JoshuaRogers, JacobSingh et al: refactor install.php to allow Drupal to be installed from the command line. --- modules/simpletest/drupal_web_test_case.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'modules/simpletest/drupal_web_test_case.php') 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. -- cgit v1.2.3