diff options
author | Chocobozzz <florian.bigard@gmail.com> | 2017-11-06 11:46:11 +0100 |
---|---|---|
committer | Chocobozzz <florian.bigard@gmail.com> | 2017-11-06 11:46:11 +0100 |
commit | a01f107bc436250706d4bc765f45335ee15b8e80 (patch) | |
tree | 51333f833587e6581440ed59837127f03db37204 /server/tests/api/check-params/video-channels.ts | |
parent | c3488a484e421783eb6a3d5990174a545e6088c0 (diff) | |
download | PeerTube-a01f107bc436250706d4bc765f45335ee15b8e80.tar.gz PeerTube-a01f107bc436250706d4bc765f45335ee15b8e80.tar.zst PeerTube-a01f107bc436250706d4bc765f45335ee15b8e80.zip |
Improve client mobile version
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' |