aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/notifications/moderation-notifications.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-02-22 09:46:28 +0100
committerChocobozzz <me@florianbigard.com>2021-02-22 10:35:37 +0100
commit15bedeebd7671bf5177879899404d48942b2d090 (patch)
tree6313b11956ea44dd80f409fb2d48f62b11765c13 /server/tests/api/notifications/moderation-notifications.ts
parent94d721efdc9a8c2cda612f49506a41adb6a06f1d (diff)
downloadPeerTube-15bedeebd7671bf5177879899404d48942b2d090.tar.gz
PeerTube-15bedeebd7671bf5177879899404d48942b2d090.tar.zst
PeerTube-15bedeebd7671bf5177879899404d48942b2d090.zip
Fix loading things twice on trending page
Diffstat (limited to 'server/tests/api/notifications/moderation-notifications.ts')
-rw-r--r--server/tests/api/notifications/moderation-notifications.ts2
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)