diff options
Diffstat (limited to 'server/tests/api')
-rw-r--r-- | server/tests/api/users/user-notifications.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/users/user-notifications.ts b/server/tests/api/users/user-notifications.ts index 6c6d208f5..d573bf024 100644 --- a/server/tests/api/users/user-notifications.ts +++ b/server/tests/api/users/user-notifications.ts | |||
@@ -216,7 +216,7 @@ describe('Test users notifications', function () { | |||
216 | }) | 216 | }) |
217 | 217 | ||
218 | it('Should send a new video notification on a remote scheduled publication', async function () { | 218 | it('Should send a new video notification on a remote scheduled publication', async function () { |
219 | this.timeout(20000) | 219 | this.timeout(50000) |
220 | 220 | ||
221 | // In 2 seconds | 221 | // In 2 seconds |
222 | let updateAt = new Date(new Date().getTime() + 2000) | 222 | let updateAt = new Date(new Date().getTime() + 2000) |
@@ -238,7 +238,7 @@ describe('Test users notifications', function () { | |||
238 | it('Should not send a notification before the video is published', async function () { | 238 | it('Should not send a notification before the video is published', async function () { |
239 | this.timeout(20000) | 239 | this.timeout(20000) |
240 | 240 | ||
241 | let updateAt = new Date(new Date().getTime() + 100000) | 241 | let updateAt = new Date(new Date().getTime() + 1000000) |
242 | 242 | ||
243 | const data = { | 243 | const data = { |
244 | privacy: VideoPrivacy.PRIVATE, | 244 | privacy: VideoPrivacy.PRIVATE, |