aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/tests/api/notifications/comments-notifications.ts16
1 files changed, 8 insertions, 8 deletions
diff --git a/server/tests/api/notifications/comments-notifications.ts b/server/tests/api/notifications/comments-notifications.ts
index 3da828b6a..5e4ab0d6c 100644
--- a/server/tests/api/notifications/comments-notifications.ts
+++ b/server/tests/api/notifications/comments-notifications.ts
@@ -53,7 +53,7 @@ describe('Test comments notifications', function () {
53 }) 53 })
54 54
55 it('Should not send a new comment notification after a comment on another video', async function () { 55 it('Should not send a new comment notification after a comment on another video', async function () {
56 this.timeout(10000) 56 this.timeout(20000)
57 57
58 const resVideo = await uploadVideo(servers[0].url, servers[0].accessToken, { name: 'super video' }) 58 const resVideo = await uploadVideo(servers[0].url, servers[0].accessToken, { name: 'super video' })
59 const uuid = resVideo.body.video.uuid 59 const uuid = resVideo.body.video.uuid
@@ -66,7 +66,7 @@ describe('Test comments notifications', function () {
66 }) 66 })
67 67
68 it('Should not send a new comment notification if I comment my own video', async function () { 68 it('Should not send a new comment notification if I comment my own video', async function () {
69 this.timeout(10000) 69 this.timeout(20000)
70 70
71 const resVideo = await uploadVideo(servers[0].url, userAccessToken, { name: 'super video' }) 71 const resVideo = await uploadVideo(servers[0].url, userAccessToken, { name: 'super video' })
72 const uuid = resVideo.body.video.uuid 72 const uuid = resVideo.body.video.uuid
@@ -79,7 +79,7 @@ describe('Test comments notifications', function () {
79 }) 79 })
80 80
81 it('Should not send a new comment notification if the account is muted', async function () { 81 it('Should not send a new comment notification if the account is muted', async function () {
82 this.timeout(10000) 82 this.timeout(20000)
83 83
84 await addAccountToAccountBlocklist(servers[0].url, userAccessToken, 'root') 84 await addAccountToAccountBlocklist(servers[0].url, userAccessToken, 'root')
85 85
@@ -96,7 +96,7 @@ describe('Test comments notifications', function () {
96 }) 96 })
97 97
98 it('Should send a new comment notification after a local comment on my video', async function () { 98 it('Should send a new comment notification after a local comment on my video', async function () {
99 this.timeout(10000) 99 this.timeout(20000)
100 100
101 const resVideo = await uploadVideo(servers[0].url, userAccessToken, { name: 'super video' }) 101 const resVideo = await uploadVideo(servers[0].url, userAccessToken, { name: 'super video' })
102 const uuid = resVideo.body.video.uuid 102 const uuid = resVideo.body.video.uuid
@@ -109,7 +109,7 @@ describe('Test comments notifications', function () {
109 }) 109 })
110 110
111 it('Should send a new comment notification after a remote comment on my video', async function () { 111 it('Should send a new comment notification after a remote comment on my video', async function () {
112 this.timeout(10000) 112 this.timeout(20000)
113 113
114 const resVideo = await uploadVideo(servers[0].url, userAccessToken, { name: 'super video' }) 114 const resVideo = await uploadVideo(servers[0].url, userAccessToken, { name: 'super video' })
115 const uuid = resVideo.body.video.uuid 115 const uuid = resVideo.body.video.uuid
@@ -128,7 +128,7 @@ describe('Test comments notifications', function () {
128 }) 128 })
129 129
130 it('Should send a new comment notification after a local reply on my video', async function () { 130 it('Should send a new comment notification after a local reply on my video', async function () {
131 this.timeout(10000) 131 this.timeout(20000)
132 132
133 const resVideo = await uploadVideo(servers[0].url, userAccessToken, { name: 'super video' }) 133 const resVideo = await uploadVideo(servers[0].url, userAccessToken, { name: 'super video' })
134 const uuid = resVideo.body.video.uuid 134 const uuid = resVideo.body.video.uuid
@@ -144,7 +144,7 @@ describe('Test comments notifications', function () {
144 }) 144 })
145 145
146 it('Should send a new comment notification after a remote reply on my video', async function () { 146 it('Should send a new comment notification after a remote reply on my video', async function () {
147 this.timeout(10000) 147 this.timeout(20000)
148 148
149 const resVideo = await uploadVideo(servers[0].url, userAccessToken, { name: 'super video' }) 149 const resVideo = await uploadVideo(servers[0].url, userAccessToken, { name: 'super video' })
150 const uuid = resVideo.body.video.uuid 150 const uuid = resVideo.body.video.uuid
@@ -172,7 +172,7 @@ describe('Test comments notifications', function () {
172 }) 172 })
173 173
174 it('Should convert markdown in comment to html', async function () { 174 it('Should convert markdown in comment to html', async function () {
175 this.timeout(10000) 175 this.timeout(20000)
176 176
177 const resVideo = await uploadVideo(servers[0].url, userAccessToken, { name: 'cool video' }) 177 const resVideo = await uploadVideo(servers[0].url, userAccessToken, { name: 'cool video' })
178 const uuid = resVideo.body.video.uuid 178 const uuid = resVideo.body.video.uuid