diff options
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. |