summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--node_access_example/node_access_example.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/node_access_example/node_access_example.test b/node_access_example/node_access_example.test
index ab01b57..1754e8a 100644
--- a/node_access_example/node_access_example.test
+++ b/node_access_example/node_access_example.test
@@ -144,7 +144,7 @@ class NodeAccessExampleTestCase extends DrupalWebTestCase {
// able to search for private nodes, and will not have available nodes
// shown on examples/node_access, because node_access() is not called
// for node listings, only for actual access to a node.
- $edit_user = $this->drupalCreateUser(array('access comments', 'access content', 'post comments', 'post comments without approval', 'search content'));
+ $edit_user = $this->drupalCreateUser(array('access comments', 'access content', 'post comments', 'skip comment approval', 'search content'));
// Update the name of the user to 'foobar'.
$num_updated = db_update('users')
->fields(array(