diff options
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/api/notifications/moderation-notifications.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/server/tests/api/notifications/moderation-notifications.ts b/server/tests/api/notifications/moderation-notifications.ts index cff19223f..4c00d97f8 100644 --- a/server/tests/api/notifications/moderation-notifications.ts +++ b/server/tests/api/notifications/moderation-notifications.ts | |||
@@ -121,6 +121,8 @@ describe('Test moderation notifications', function () { | |||
121 | const resComment = await addVideoCommentThread(servers[0].url, userAccessToken, video.id, 'comment abuse ' + uuidv4()) | 121 | const resComment = await addVideoCommentThread(servers[0].url, userAccessToken, video.id, 'comment abuse ' + uuidv4()) |
122 | const comment = resComment.body.comment | 122 | const comment = resComment.body.comment |
123 | 123 | ||
124 | await waitJobs(servers) | ||
125 | |||
124 | await reportAbuse({ url: servers[0].url, token: servers[0].accessToken, commentId: comment.id, reason: 'super reason' }) | 126 | await reportAbuse({ url: servers[0].url, token: servers[0].accessToken, commentId: comment.id, reason: 'super reason' }) |
125 | 127 | ||
126 | await waitJobs(servers) | 128 | await waitJobs(servers) |