Index: modules/simpletest/drupal_web_test_case.php
===================================================================
RCS file: /cvs/drupal/drupal/modules/simpletest/drupal_web_test_case.php,v
retrieving revision 1.232
diff -u -p -r1.232 drupal_web_test_case.php
--- modules/simpletest/drupal_web_test_case.php	11 Sep 2010 21:14:31 -0000	1.232
+++ modules/simpletest/drupal_web_test_case.php	16 Sep 2010 19:18:08 -0000
@@ -971,16 +971,18 @@ class DrupalWebTestCase extends DrupalTe
   }
 
   /**
-   * Create a user with a given set of permissions. The permissions correspond to the
-   * names given on the privileges page.
+   * Create a user with a given set of permissions.
    *
    * @param $permissions
-   *   Array of permission names to assign to user.
+   *   Array of permission names to assign to the user. Note that the user
+   *   always has the default permissions derived from the
+   *   "authenticated users" role.
+   *
    * @return
    *   A fully loaded user object with pass_raw property, or FALSE if account
    *   creation fails.
    */
-  protected function drupalCreateUser($permissions = array('access comments', 'access content', 'post comments', 'post comments without approval')) {
+  protected function drupalCreateUser(array $permissions = array()) {
     // Create a role with the given permission set.
     if (!($rid = $this->drupalCreateRole($permissions))) {
       return FALSE;
