X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=server%2Ftests%2Fapi%2Fvideos%2Fvideo-comments.ts;h=b6b00230726aa3e419b6472acd05aa6028f770b8;hb=65e6e2602c0d5521f3a6740f7469bb92830ecb53;hp=a5ff3a39dde4067504697582b86c10a77a00c608;hpb=5ec3cbdf22fc88ebe57f370fc0bc0e3df7453458;p=github%2FChocobozzz%2FPeerTube.git diff --git a/server/tests/api/videos/video-comments.ts b/server/tests/api/videos/video-comments.ts index a5ff3a39d..b6b002307 100644 --- a/server/tests/api/videos/video-comments.ts +++ b/server/tests/api/videos/video-comments.ts @@ -231,7 +231,7 @@ describe('Test video comments', function () { expect(res.body.data[0].isDeleted).to.be.true expect(res.body.data[0].deletedAt).to.not.be.null expect(res.body.data[0].account).to.be.null - expect(res.body.data[0].totalReplies).to.equal(3) + expect(res.body.data[0].totalReplies).to.equal(2) expect(res.body.data[1].text).to.equal('super thread 2') expect(res.body.data[1].totalReplies).to.equal(0) expect(res.body.data[2].text).to.equal('super thread 3')