aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/users
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/users')
-rw-r--r--server/tests/api/users/users.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/server/tests/api/users/users.ts b/server/tests/api/users/users.ts
index 2e3a0b94f..298dbce2c 100644
--- a/server/tests/api/users/users.ts
+++ b/server/tests/api/users/users.ts
@@ -15,7 +15,7 @@ import {
15 getVideosList, 15 getVideosList,
16 killallServers, 16 killallServers,
17 login, 17 login,
18 loginAndGetAccessToken, 18 serverLogin,
19 makePutBodyRequest, 19 makePutBodyRequest,
20 rateVideo, 20 rateVideo,
21 registerUser, 21 registerUser,
@@ -193,7 +193,7 @@ describe('Test users', function () {
193 password: 'super password' 193 password: 'super password'
194 } 194 }
195 195
196 accessTokenUser = await loginAndGetAccessToken(server) 196 accessTokenUser = await serverLogin(server)
197 }) 197 })
198 198
199 it('Should be able to get the user information', async function () { 199 it('Should be able to get the user information', async function () {
@@ -511,7 +511,7 @@ describe('Test users', function () {
511 password: 'my super password' 511 password: 'my super password'
512 } 512 }
513 513
514 accessToken = await loginAndGetAccessToken(server) 514 accessToken = await serverLogin(server)
515 }) 515 })
516 516
517 it('Should have the correct video quota', async function () { 517 it('Should have the correct video quota', async function () {