aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/videos/video-comments.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-02-14 18:21:14 +0100
committerChocobozzz <me@florianbigard.com>2018-02-14 18:33:06 +0100
commit7b0956ec4f7753c864c4cea220e6f189327baa93 (patch)
treeed6728632a5a53bcde55978e21c2b7296c104f7e /server/tests/api/videos/video-comments.ts
parent3bcfff7f446d0a1d8ef5adf340375e178259a42c (diff)
downloadPeerTube-7b0956ec4f7753c864c4cea220e6f189327baa93.tar.gz
PeerTube-7b0956ec4f7753c864c4cea220e6f189327baa93.tar.zst
PeerTube-7b0956ec4f7753c864c4cea220e6f189327baa93.zip
Fix tests
Diffstat (limited to 'server/tests/api/videos/video-comments.ts')
-rw-r--r--server/tests/api/videos/video-comments.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/tests/api/videos/video-comments.ts b/server/tests/api/videos/video-comments.ts
index cf8166a96..f83d95088 100644
--- a/server/tests/api/videos/video-comments.ts
+++ b/server/tests/api/videos/video-comments.ts
@@ -83,8 +83,7 @@ describe('Test video comments', function () {
83 expect(comment.account.name).to.equal('root') 83 expect(comment.account.name).to.equal('root')
84 expect(comment.account.host).to.equal('localhost:9001') 84 expect(comment.account.host).to.equal('localhost:9001')
85 85
86 const test = await testImage(server.url, 'avatar-resized', comment.account.avatar.path, '.png') 86 await testImage(server.url, 'avatar-resized', comment.account.avatar.path, '.png')
87 expect(test).to.equal(true)
88 87
89 expect(comment.totalReplies).to.equal(0) 88 expect(comment.totalReplies).to.equal(0)
90 expect(dateIsValid(comment.createdAt as string)).to.be.true 89 expect(dateIsValid(comment.createdAt as string)).to.be.true