From 9c72e9209a7dc95c3ea88f0ff644196bda84c93e Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 21 Nov 2008 14:48:59 +0000 Subject: - Patch #334826 by maartenvg: editing of anonymous comments was broken. Bugfix with test\! --- modules/comment/comment.test | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'modules/comment/comment.test') diff --git a/modules/comment/comment.test b/modules/comment/comment.test index 70c6d6cba..a552adc01 100644 --- a/modules/comment/comment.test +++ b/modules/comment/comment.test @@ -413,6 +413,11 @@ class CommentAnonymous extends CommentHelperCase { // Allow contact info. $this->drupalLogin($this->admin_user); $this->setCommentAnonymous('1'); + + // Attempt to edit anonymous comment. + $this->drupalGet('comment/edit/' . $anonymous_comment1->id); + $edited_comment = $this->postComment(NULL, $this->randomName(), $this->randomName()); + $this->assertTrue($this->commentExists($edited_comment, FALSE), t('Modified reply found.')); $this->drupalLogout(); // Post anonymous comment with contact info (optional). -- cgit v1.2.3