mirror of
https://gitlab.com/commento/commento.git
synced 2025-06-29 22:56:37 -04:00
api: don't auto-upvote new comments
This commit is contained in:
@ -51,8 +51,8 @@ func TestCommentNewUpvoted(t *testing.T) {
|
||||
return
|
||||
}
|
||||
|
||||
if score != 1 {
|
||||
t.Errorf("expected comment to be auto-upvoted")
|
||||
if score != 0 {
|
||||
t.Errorf("expected comment to be at 0 points")
|
||||
return
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user