From 15bedeebd7671bf5177879899404d48942b2d090 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Mon, 22 Feb 2021 09:46:28 +0100 Subject: Fix loading things twice on trending page --- server/tests/api/notifications/moderation-notifications.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'server/tests') 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 () { 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) -- cgit v1.2.3