From 201e1dd356fcdfac6af3e6789f8d55b50258e100 Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Mon, 9 Jun 2008 16:33:20 +0000 Subject: [PATCH] - Patch #268449 by catch: fixed some tests that failed due to invalid permissions. --- modules/comment/comment.test | 2 +- modules/system/system.test | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/comment/comment.test b/modules/comment/comment.test index 2f5699782d43..095f04548627 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 7aec7a235874..92f8a0a86cff 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); } -- GitLab