Fix loading things twice on trending page

This commit is contained in:
Chocobozzz
2021-02-22 09:46:28 +01:00
parent 94d721efdc
commit 15bedeebd7
3 changed files with 35 additions and 12 deletions

View File

@@ -121,6 +121,8 @@ describe('Test moderation notifications', function () {
const resComment = await addVideoCommentThread(servers[0].url, userAccessToken, video.id, 'comment abuse ' + uuidv4())
const comment = resComment.body.comment
await waitJobs(servers)
await reportAbuse({ url: servers[0].url, token: servers[0].accessToken, commentId: comment.id, reason: 'super reason' })
await waitJobs(servers)