aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params/follows.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/check-params/follows.ts')
-rw-r--r--server/tests/api/check-params/follows.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/server/tests/api/check-params/follows.ts b/server/tests/api/check-params/follows.ts
index c03dd5c9c..8cf5b130e 100644
--- a/server/tests/api/check-params/follows.ts
+++ b/server/tests/api/check-params/follows.ts
@@ -9,8 +9,7 @@ import {
9 makeDeleteRequest, makeGetRequest, 9 makeDeleteRequest, makeGetRequest,
10 makePostBodyRequest, 10 makePostBodyRequest,
11 ServerInfo, 11 ServerInfo,
12 setAccessTokensToServers, 12 setAccessTokensToServers
13 userLogin
14} from '../../../../shared/extra-utils' 13} from '../../../../shared/extra-utils'
15import { 14import {
16 checkBadCountPagination, 15 checkBadCountPagination,
@@ -42,7 +41,7 @@ describe('Test server follows API validators', function () {
42 } 41 }
43 42
44 await createUser({ url: server.url, accessToken: server.accessToken, username: user.username, password: user.password }) 43 await createUser({ url: server.url, accessToken: server.accessToken, username: user.username, password: user.password })
45 userAccessToken = await userLogin(server, user) 44 userAccessToken = await server.loginCommand.getAccessToken(user)
46 }) 45 })
47 46
48 describe('When adding follows', function () { 47 describe('When adding follows', function () {