diff options
Diffstat (limited to 'server/tests/api/check-params/video-channels.ts')
-rw-r--r-- | server/tests/api/check-params/video-channels.ts | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/server/tests/api/check-params/video-channels.ts b/server/tests/api/check-params/video-channels.ts index 08d1af52e..e72b2cb6c 100644 --- a/server/tests/api/check-params/video-channels.ts +++ b/server/tests/api/check-params/video-channels.ts | |||
@@ -12,7 +12,6 @@ import { | |||
12 | makePutBodyRequest, | 12 | makePutBodyRequest, |
13 | setAccessTokensToServers, | 13 | setAccessTokensToServers, |
14 | killallServers, | 14 | killallServers, |
15 | getMyUserInformation, | ||
16 | makePostBodyRequest, | 15 | makePostBodyRequest, |
17 | getVideoChannelsList, | 16 | getVideoChannelsList, |
18 | createUser, | 17 | createUser, |
@@ -22,7 +21,6 @@ import { | |||
22 | describe('Test videos API validator', function () { | 21 | describe('Test videos API validator', function () { |
23 | const path = '/api/v1/videos/channels' | 22 | const path = '/api/v1/videos/channels' |
24 | let server: ServerInfo | 23 | let server: ServerInfo |
25 | let channelId: number | ||
26 | let accessTokenUser: string | 24 | let accessTokenUser: string |
27 | 25 | ||
28 | // --------------------------------------------------------------- | 26 | // --------------------------------------------------------------- |
@@ -36,9 +34,6 @@ describe('Test videos API validator', function () { | |||
36 | 34 | ||
37 | await setAccessTokensToServers([ server ]) | 35 | await setAccessTokensToServers([ server ]) |
38 | 36 | ||
39 | const res = await getMyUserInformation(server.url, server.accessToken) | ||
40 | channelId = res.body.videoChannels[0].id | ||
41 | |||
42 | const user = { | 37 | const user = { |
43 | username: 'fake', | 38 | username: 'fake', |
44 | password: 'fake_password' | 39 | password: 'fake_password' |