Commit 54d2daec authored by webchick's avatar webchick
Browse files

#302396 follow-up by catch: Fix typo in tests.

parent 623c6f68
......@@ -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();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment