aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-01-19 08:35:44 +0100
committerChocobozzz <me@florianbigard.com>2021-01-19 08:35:44 +0100
commit9f39c5466ea643bc46bc4d4751ce09cb05b6c762 (patch)
tree9d8d48b053b3fa3dea32ae133d6d574daf97348d /server/tests/api
parent969e59d17d584baf695cf9a7d6122283518386a7 (diff)
downloadPeerTube-9f39c5466ea643bc46bc4d4751ce09cb05b6c762.tar.gz
PeerTube-9f39c5466ea643bc46bc4d4751ce09cb05b6c762.tar.zst
PeerTube-9f39c5466ea643bc46bc4d4751ce09cb05b6c762.zip
Fix user notification test
Diffstat (limited to 'server/tests/api')
-rw-r--r--server/tests/api/notifications/user-notifications.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/notifications/user-notifications.ts b/server/tests/api/notifications/user-notifications.ts
index a0d5a1fdd..6a65447fd 100644
--- a/server/tests/api/notifications/user-notifications.ts
+++ b/server/tests/api/notifications/user-notifications.ts
@@ -163,7 +163,7 @@ describe('Test user notifications', function () {
163 163
164 await updateVideo(servers[0].url, servers[0].accessToken, uuid, { privacy: VideoPrivacy.PUBLIC }) 164 await updateVideo(servers[0].url, servers[0].accessToken, uuid, { privacy: VideoPrivacy.PUBLIC })
165 165
166 await wait(500) 166 await waitJobs(servers)
167 await checkNewVideoFromSubscription(baseParams, name, uuid, 'presence') 167 await checkNewVideoFromSubscription(baseParams, name, uuid, 'presence')
168 }) 168 })
169 169