aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-03-18 10:26:53 +0100
committerChocobozzz <chocobozzz@cpy.re>2019-03-18 11:17:59 +0100
commit9a18a6252071cf21b18f82a24bb63078abb75bc1 (patch)
treed910e05e8f25b9c91cd325c7478e9283d503c98f /server/tests
parent397d78fb3e55aeeedf3591d7be9d7a30849d9e82 (diff)
downloadPeerTube-9a18a6252071cf21b18f82a24bb63078abb75bc1.tar.gz
PeerTube-9a18a6252071cf21b18f82a24bb63078abb75bc1.tar.zst
PeerTube-9a18a6252071cf21b18f82a24bb63078abb75bc1.zip
Handle theater mode for playlists
Diffstat (limited to 'server/tests')
-rw-r--r--server/tests/api/users/user-notifications.ts4
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,