diff options
author | Chocobozzz <me@florianbigard.com> | 2020-06-17 10:55:40 +0200 |
---|---|---|
committer | Chocobozzz <me@florianbigard.com> | 2020-06-17 11:42:50 +0200 |
commit | faa9d434b4d681837ff2a87603337c2623419669 (patch) | |
tree | 1f3c798dd6fd5f2dcbb019978f063f448c019974 /server/tests/api/check-params/users.ts | |
parent | 982f2fc9b42537ca40ff29bf62c1ca3692d4b587 (diff) | |
download | PeerTube-faa9d434b4d681837ff2a87603337c2623419669.tar.gz PeerTube-faa9d434b4d681837ff2a87603337c2623419669.tar.zst PeerTube-faa9d434b4d681837ff2a87603337c2623419669.zip |
Update server dependencies
Diffstat (limited to 'server/tests/api/check-params/users.ts')
-rw-r--r-- | server/tests/api/check-params/users.ts | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/server/tests/api/check-params/users.ts b/server/tests/api/check-params/users.ts index 472fbda43..74f0a2d3f 100644 --- a/server/tests/api/check-params/users.ts +++ b/server/tests/api/check-params/users.ts | |||
@@ -55,8 +55,6 @@ describe('Test users API validators', function () { | |||
55 | let moderatorAccessToken = '' | 55 | let moderatorAccessToken = '' |
56 | let emailPort: number | 56 | let emailPort: number |
57 | let overrideConfig: Object | 57 | let overrideConfig: Object |
58 | // eslint-disable-next-line @typescript-eslint/no-unused-vars | ||
59 | let channelId: number | ||
60 | 58 | ||
61 | // --------------------------------------------------------------- | 59 | // --------------------------------------------------------------- |
62 | 60 | ||
@@ -130,11 +128,6 @@ describe('Test users API validators', function () { | |||
130 | } | 128 | } |
131 | 129 | ||
132 | { | 130 | { |
133 | const res = await getMyUserInformation(server.url, server.accessToken) | ||
134 | channelId = res.body.videoChannels[0].id | ||
135 | } | ||
136 | |||
137 | { | ||
138 | const res = await uploadVideo(server.url, server.accessToken, {}) | 131 | const res = await uploadVideo(server.url, server.accessToken, {}) |
139 | videoId = res.body.video.id | 132 | videoId = res.body.video.id |
140 | } | 133 | } |