diff options
author | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-10-05 06:17:29 +0000 |
---|---|---|
committer | Angie Byron <webchick@24967.no-reply.drupal.org> | 2010-10-05 06:17:29 +0000 |
commit | 5d76008993fc7edc5d4c1aedba8af81b36d1554e (patch) | |
tree | b3d5b4ec8d296f326330d1eb5bef31af66821fd9 /modules/simpletest | |
parent | e4c0766ca4cb88cf742989f924f414de354f69cb (diff) | |
download | brdo-5d76008993fc7edc5d4c1aedba8af81b36d1554e.tar.gz brdo-5d76008993fc7edc5d4c1aedba8af81b36d1554e.tar.bz2 |
#438224 by dww, sun, netsensei, vordude, et al: 'Post comments without approval' permission name is completely misleading.
Diffstat (limited to 'modules/simpletest')
-rw-r--r-- | modules/simpletest/drupal_web_test_case.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/simpletest/drupal_web_test_case.php b/modules/simpletest/drupal_web_test_case.php index a8692464b..997eaaba1 100644 --- a/modules/simpletest/drupal_web_test_case.php +++ b/modules/simpletest/drupal_web_test_case.php @@ -991,7 +991,7 @@ class DrupalWebTestCase extends DrupalTestCase { * 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($permissions = array('access comments', 'access content', 'post comments', 'skip comment approval')) { // Create a role with the given permission set. if (!($rid = $this->drupalCreateRole($permissions))) { return FALSE; |