aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/users/users.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2022-10-28 09:59:39 +0200
committerChocobozzz <me@florianbigard.com>2022-10-28 09:59:39 +0200
commit1ebe2c2b9fba58c87d18c07921ea7c425e7e3cfd (patch)
tree81fb5d1b0169a0c1978097a9d49c6b145400dc52 /server/tests/api/users/users.ts
parent5a122dddc5aab1b2ae1843411032d5f392bdd216 (diff)
downloadPeerTube-1ebe2c2b9fba58c87d18c07921ea7c425e7e3cfd.tar.gz
PeerTube-1ebe2c2b9fba58c87d18c07921ea7c425e7e3cfd.tar.zst
PeerTube-1ebe2c2b9fba58c87d18c07921ea7c425e7e3cfd.zip
Update production.yaml
Diffstat (limited to 'server/tests/api/users/users.ts')
-rw-r--r--server/tests/api/users/users.ts2
1 files changed, 1 insertions, 1 deletions
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)