aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params/video-channels.ts
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/check-params/video-channels.ts')
-rw-r--r--server/tests/api/check-params/video-channels.ts5
1 files changed, 2 insertions, 3 deletions
diff --git a/server/tests/api/check-params/video-channels.ts b/server/tests/api/check-params/video-channels.ts
index 3b72d3796..5361f6917 100644
--- a/server/tests/api/check-params/video-channels.ts
+++ b/server/tests/api/check-params/video-channels.ts
@@ -18,8 +18,7 @@ import {
18 makePutBodyRequest, 18 makePutBodyRequest,
19 makeUploadRequest, 19 makeUploadRequest,
20 ServerInfo, 20 ServerInfo,
21 setAccessTokensToServers, 21 setAccessTokensToServers
22 userLogin
23} from '@shared/extra-utils' 22} from '@shared/extra-utils'
24import { VideoChannelUpdate } from '@shared/models' 23import { VideoChannelUpdate } from '@shared/models'
25 24
@@ -47,7 +46,7 @@ describe('Test video channels API validator', function () {
47 46
48 { 47 {
49 await createUser({ url: server.url, accessToken: server.accessToken, username: user.username, password: user.password }) 48 await createUser({ url: server.url, accessToken: server.accessToken, username: user.username, password: user.password })
50 accessTokenUser = await userLogin(server, user) 49 accessTokenUser = await server.loginCommand.getAccessToken(user)
51 } 50 }
52 51
53 command = server.channelsCommand 52 command = server.channelsCommand