aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/tests/api/object-storage/video-static-file-privacy.ts2
-rw-r--r--server/tests/api/users/users.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/object-storage/video-static-file-privacy.ts b/server/tests/api/object-storage/video-static-file-privacy.ts
index ed8855b3b..ea5bdd0a8 100644
--- a/server/tests/api/object-storage/video-static-file-privacy.ts
+++ b/server/tests/api/object-storage/video-static-file-privacy.ts
@@ -385,7 +385,7 @@ describe('Object storage for video static file privacy', function () {
385 }) 385 })
386 386
387 after(async function () { 387 after(async function () {
388 this.timeout(60000) 388 this.timeout(240000)
389 389
390 const { data } = await server.videos.listAllForAdmin() 390 const { data } = await server.videos.listAllForAdmin()
391 391
diff --git a/server/tests/api/users/users.ts b/server/tests/api/users/users.ts
index 9e657b387..3952a7aed 100644
--- a/server/tests/api/users/users.ts
+++ b/server/tests/api/users/users.ts
@@ -181,7 +181,7 @@ describe('Test users', function () {
181 }) 181 })
182 182
183 it('Should refresh the token', async function () { 183 it('Should refresh the token', async function () {
184 this.timeout(15000) 184 this.timeout(50000)
185 185
186 const futureDate = new Date(new Date().getTime() + 1000 * 60).toISOString() 186 const futureDate = new Date(new Date().getTime() + 1000 * 60).toISOString()
187 await server.sql.setTokenField(server.accessToken, 'refreshTokenExpiresAt', futureDate) 187 await server.sql.setTokenField(server.accessToken, 'refreshTokenExpiresAt', futureDate)