diff options
author | Chocobozzz <me@florianbigard.com> | 2018-02-14 18:21:14 +0100 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2018-02-14 18:33:06 +0100 |
commit | 7b0956ec4f7753c864c4cea220e6f189327baa93 (patch) | |
tree | ed6728632a5a53bcde55978e21c2b7296c104f7e /server/tests/api/videos/video-comments.ts | |
parent | 3bcfff7f446d0a1d8ef5adf340375e178259a42c (diff) | |
download | PeerTube-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.ts | 3 |
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 |