From e8d246d5267ea8b6b3114d4bcf4f34fe5f3a5241 Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Fri, 28 Dec 2018 13:47:17 +0100 Subject: Add notification settings migration --- server/tests/api/users/user-notifications.ts | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'server/tests/api') diff --git a/server/tests/api/users/user-notifications.ts b/server/tests/api/users/user-notifications.ts index ea35e6390..09c0479fd 100644 --- a/server/tests/api/users/user-notifications.ts +++ b/server/tests/api/users/user-notifications.ts @@ -152,6 +152,8 @@ describe('Test users notifications', function () { const videoName = 'remote video ' + videoNameId const uuid = await uploadVideoByRemoteAccount(servers, videoNameId) + await waitJobs(servers) + await checkNewVideoFromSubscription(baseParams, videoName, uuid, 'presence') }) @@ -194,6 +196,7 @@ describe('Test users notifications', function () { } } const uuid = await uploadVideoByRemoteAccount(servers, videoNameId, data) + await waitJobs(servers) await wait(6000) await checkNewVideoFromSubscription(baseParams, videoName, uuid, 'presence') @@ -245,6 +248,7 @@ describe('Test users notifications', function () { const data = { privacy: VideoPrivacy.PRIVATE } const uuid = await uploadVideoByRemoteAccount(servers, videoNameId, data) + await waitJobs(servers) await checkNewVideoFromSubscription(baseParams, videoName, uuid, 'absence') @@ -276,6 +280,7 @@ describe('Test users notifications', function () { const data = { privacy: VideoPrivacy.PRIVATE } const uuid = await uploadVideoByRemoteAccount(servers, videoNameId, data) + await waitJobs(servers) await updateVideo(servers[1].url, servers[1].accessToken, uuid, { privacy: VideoPrivacy.UNLISTED }) -- cgit v1.2.3