Skip to content

Commit dda6b57

Browse files
committed
update conversation fixture comment amount
1 parent 05f6e61 commit dda6b57

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

models/fixtures/conversation.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
created_unix: 946684810
1010
id: 2
1111
index: 2
12-
num_comments: 0
12+
num_comments: 1
1313
repo_id: 1
1414
updated_unix: 978307190
1515
-

models/unittest/consistency.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ func init() {
183183
conversation := reflectionWrap(bean)
184184
typeComment := modelsCommentTypeComment
185185
actual := GetCountByCond(t, "conversation_comment", builder.Eq{"`type`": typeComment, "conversation_id": conversation.int("ID")})
186-
assert.EqualValues(t, conversation.int("NumComments"), actual, "Unexpected number of comments for issue id: %d", conversation.int("ID"))
186+
assert.EqualValues(t, conversation.int("NumComments"), actual, "Unexpected number of comments for conversation id: %d", conversation.int("ID"))
187187
}
188188

189189
consistencyCheckMap["user"] = checkForUserConsistency

0 commit comments

Comments
 (0)