summaryrefslogtreecommitdiff
path: root/modules/simpletest
diff options
context:
space:
mode:
authorAngie Byron <webchick@24967.no-reply.drupal.org>2010-10-05 06:17:29 +0000
committerAngie Byron <webchick@24967.no-reply.drupal.org>2010-10-05 06:17:29 +0000
commit5d76008993fc7edc5d4c1aedba8af81b36d1554e (patch)
treeb3d5b4ec8d296f326330d1eb5bef31af66821fd9 /modules/simpletest
parente4c0766ca4cb88cf742989f924f414de354f69cb (diff)
downloadbrdo-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.php2
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;