aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2018-05-16 11:33:11 +0200
committerChocobozzz <me@florianbigard.com>2018-05-17 10:55:49 +0200
commit6200d8d91710b03a72a27e35cbe6eed1e6cc8c62 (patch)
treeccd64f46009e45272d1a3426e206438cd5d50d4c /server/tests/api
parenta14d3b6b23816299dba2c5e1010ea8f6eb3d3289 (diff)
downloadPeerTube-6200d8d91710b03a72a27e35cbe6eed1e6cc8c62.tar.gz
PeerTube-6200d8d91710b03a72a27e35cbe6eed1e6cc8c62.tar.zst
PeerTube-6200d8d91710b03a72a27e35cbe6eed1e6cc8c62.zip
Fix video channel update with an admin account
Diffstat (limited to 'server/tests/api')
-rw-r--r--server/tests/api/check-params/videos.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/check-params/videos.ts b/server/tests/api/check-params/videos.ts
index 33e815806..c81e9752e 100644
--- a/server/tests/api/check-params/videos.ts
+++ b/server/tests/api/check-params/videos.ts
@@ -280,7 +280,7 @@ describe('Test videos API validator', function () {
280 const fields = immutableAssign(baseCorrectParams, { channelId: customChannelId }) 280 const fields = immutableAssign(baseCorrectParams, { channelId: customChannelId })
281 const attaches = baseCorrectAttaches 281 const attaches = baseCorrectAttaches
282 282
283 await makeUploadRequest({ url: server.url, path: path + '/upload', token: server.accessToken, fields, attaches }) 283 await makeUploadRequest({ url: server.url, path: path + '/upload', token: userAccessToken, fields, attaches })
284 }) 284 })
285 285
286 it('Should fail with too many tags', async function () { 286 it('Should fail with too many tags', async function () {