diff options
author | Chocobozzz <me@florianbigard.com> | 2022-10-28 09:59:39 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2022-10-28 09:59:39 +0200 |
commit | 1ebe2c2b9fba58c87d18c07921ea7c425e7e3cfd (patch) | |
tree | 81fb5d1b0169a0c1978097a9d49c6b145400dc52 /server/tests | |
parent | 5a122dddc5aab1b2ae1843411032d5f392bdd216 (diff) | |
download | PeerTube-1ebe2c2b9fba58c87d18c07921ea7c425e7e3cfd.tar.gz PeerTube-1ebe2c2b9fba58c87d18c07921ea7c425e7e3cfd.tar.zst PeerTube-1ebe2c2b9fba58c87d18c07921ea7c425e7e3cfd.zip |
Update production.yaml
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/api/object-storage/video-static-file-privacy.ts | 2 | ||||
-rw-r--r-- | server/tests/api/users/users.ts | 2 |
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) |