diff options
Diffstat (limited to 'server/tests/api/videos/video-comments.ts')
-rw-r--r-- | server/tests/api/videos/video-comments.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/server/tests/api/videos/video-comments.ts b/server/tests/api/videos/video-comments.ts index dc47f8a4a..5485b72ec 100644 --- a/server/tests/api/videos/video-comments.ts +++ b/server/tests/api/videos/video-comments.ts | |||
@@ -232,7 +232,8 @@ describe('Test video comments', function () { | |||
232 | await command.addReply({ videoId, toCommentId: threadId2, text: text3 }) | 232 | await command.addReply({ videoId, toCommentId: threadId2, text: text3 }) |
233 | 233 | ||
234 | const tree = await command.getThread({ videoId: videoUUID, threadId: threadId2 }) | 234 | const tree = await command.getThread({ videoId: videoUUID, threadId: threadId2 }) |
235 | expect(tree.comment.totalReplies).to.equal(tree.comment.totalRepliesFromVideoAuthor + 1) | 235 | expect(tree.comment.totalRepliesFromVideoAuthor).to.equal(1) |
236 | expect(tree.comment.totalReplies).to.equal(2) | ||
236 | }) | 237 | }) |
237 | }) | 238 | }) |
238 | 239 | ||