summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/comment/comment.test2
-rw-r--r--modules/system/system.test2
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/comment/comment.test b/modules/comment/comment.test
index 2f5699782..095f04548 100644
--- a/modules/comment/comment.test
+++ b/modules/comment/comment.test
@@ -24,7 +24,7 @@ class CommentTestCase extends DrupalWebTestCase {
parent::setUp('comment');
// Create users.
$this->admin_user = $this->drupalCreateUser(array('administer content types', 'administer comments', 'administer permissions'));
- $this->web_user = $this->drupalCreateUser(array('access comments', 'post comments', 'create story content'));
+ $this->web_user = $this->drupalCreateUser(array('access comments', 'post comments', 'create article content'));
$this->drupalLogin($this->web_user);
$this->node = $this->drupalCreateNode(array('type' => 'article'));
diff --git a/modules/system/system.test b/modules/system/system.test
index 7aec7a235..92f8a0a86 100644
--- a/modules/system/system.test
+++ b/modules/system/system.test
@@ -144,7 +144,7 @@ class IPAddressBlockingTestCase extends DrupalWebTestCase {
parent::setUp();
// Create user.
- $this->blocking_user = $this->drupalCreateUser(array('block IP addresses', 'access statistics'));
+ $this->blocking_user = $this->drupalCreateUser(array('block IP addresses'));
$this->drupalLogin($this->blocking_user);
}