diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-11-21 14:48:59 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-11-21 14:48:59 +0000 |
commit | 9c72e9209a7dc95c3ea88f0ff644196bda84c93e (patch) | |
tree | 4ee402b61519708172a8fbb1eae3872214f70471 /modules/comment/comment.test | |
parent | b4435decef6ebbfa2c5e9da23c2916fca3b04f57 (diff) | |
download | brdo-9c72e9209a7dc95c3ea88f0ff644196bda84c93e.tar.gz brdo-9c72e9209a7dc95c3ea88f0ff644196bda84c93e.tar.bz2 |
- Patch #334826 by maartenvg: editing of anonymous comments was broken. Bugfix with test\!
Diffstat (limited to 'modules/comment/comment.test')
-rw-r--r-- | modules/comment/comment.test | 5 |
1 files changed, 5 insertions, 0 deletions
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). |