diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/comment/comment.test | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/comment/comment.test b/modules/comment/comment.test index 552bf9bd0..2c7dd1ebe 100644 --- a/modules/comment/comment.test +++ b/modules/comment/comment.test @@ -451,9 +451,9 @@ class CommentApprovalTest extends CommentHelperCase { $this->postComment($this->node, $subject, $body, TRUE, TRUE); // Set $contact to true so that it won't check for id and message. $this->assertText(t('Your comment has been queued for moderation by site administrators and will be published after approval.'), t('Comment requires approval.')); - // Get unaproved comment id. + // Get unapproved comment id. $this->drupalLogin($this->admin_user); - $anonymous_comment4 = $this->getUnaprovedComment($subject); + $anonymous_comment4 = $this->getUnapprovedComment($subject); $anonymous_comment4 = (object) array('id' => $anonymous_comment4, 'subject' => $subject, 'comment' => $body); $this->drupalLogout(); @@ -487,7 +487,7 @@ class CommentApprovalTest extends CommentHelperCase { // Get unaproved comment id. $this->drupalLogin($this->admin_user); - $anonymous_comment4 = $this->getUnaprovedComment($subject); + $anonymous_comment4 = $this->getUnapprovedComment($subject); $anonymous_comment4 = (object) array('id' => $anonymous_comment4, 'subject' => $subject, 'comment' => $body); $this->drupalLogout(); |