Révision b0dc3a2e
Ajouté par Julien Enselme il y a plus de 7 ans
drupal7/modules/comment/comment.test | ||
---|---|---|
13 | 13 |
function setUp() { |
14 | 14 |
parent::setUp('comment', 'search'); |
15 | 15 |
// Create users and test node. |
16 |
$this->admin_user = $this->drupalCreateUser(array('administer content types', 'administer comments', 'administer blocks', 'administer actions')); |
|
16 |
$this->admin_user = $this->drupalCreateUser(array('administer content types', 'administer comments', 'administer blocks', 'administer actions', 'administer fields'));
|
|
17 | 17 |
$this->web_user = $this->drupalCreateUser(array('access comments', 'post comments', 'create article content', 'edit own comments')); |
18 | 18 |
$this->node = $this->drupalCreateNode(array('type' => 'article', 'promote' => 1, 'uid' => $this->web_user->uid)); |
19 | 19 |
} |
Formats disponibles : Unified diff
Update to Drupal 7.52