diff --git a/modules/comment/comment.test b/modules/comment/comment.test index 2f5699782d43f40538a12227146d44dfe50e1c58..095f045486273f9d7dec71a2a99170c3e5217946 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 7aec7a235874a59384e8dcf144cbf0f4a7f2165e..92f8a0a86cffd77b748a73f67b2c1988c8dfe09d 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); }