1
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:
Adhityaa
2018-06-14 14:40:19 +05:30
parent 57e5bc7abc
commit e93733510b
6 changed files with 46 additions and 26 deletions

View File

@ -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
}
}