aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2017-10-30 20:26:06 +0100
committerChocobozzz <florian.bigard@gmail.com>2017-10-30 20:26:06 +0100
commit2de96f4d6b800076743ed2073f9529816cfd5c8a (patch)
tree8c2dbd29fe5560e0b24edaa58038581bddd49778 /server/tests/api/check-params
parent8bf89b095a711d5ac5e6ef55575b166257d0d526 (diff)
downloadPeerTube-2de96f4d6b800076743ed2073f9529816cfd5c8a.tar.gz
PeerTube-2de96f4d6b800076743ed2073f9529816cfd5c8a.tar.zst
PeerTube-2de96f4d6b800076743ed2073f9529816cfd5c8a.zip
Lazy description and previews to video form
Diffstat (limited to 'server/tests/api/check-params')
-rw-r--r--server/tests/api/check-params/videos.ts8
1 files changed, 2 insertions, 6 deletions
diff --git a/server/tests/api/check-params/videos.ts b/server/tests/api/check-params/videos.ts
index 765b9c16e..c59f5da93 100644
--- a/server/tests/api/check-params/videos.ts
+++ b/server/tests/api/check-params/videos.ts
@@ -280,9 +280,7 @@ describe('Test videos API validator', function () {
280 licence: 1, 280 licence: 1,
281 language: 6, 281 language: 6,
282 nsfw: false, 282 nsfw: false,
283 description: 'my super description which is very very very very very very very very very very very very very very' + 283 description: 'my super description which is very very very very very very very very very very very very very very long'.repeat(35),
284 'very very very very very very very very very very very very very very very very very very very very very' +
285 'very very very very very very very very very very very very very very very long',
286 tags: [ 'tag1', 'tag2' ], 284 tags: [ 'tag1', 'tag2' ],
287 channelId 285 channelId
288 } 286 }
@@ -617,9 +615,7 @@ describe('Test videos API validator', function () {
617 licence: 2, 615 licence: 2,
618 language: 6, 616 language: 6,
619 nsfw: false, 617 nsfw: false,
620 description: 'my super description which is very very very very very very very very very very very very very very' + 618 description: 'my super description which is very very very very very very very very very very very very very long'.repeat(35),
621 'very very very very very very very very very very very very very very very very very very very very very' +
622 'very very very very very very very very very very very very very very very long',
623 tags: [ 'tag1', 'tag2' ] 619 tags: [ 'tag1', 'tag2' ]
624 } 620 }
625 await makePutBodyRequest({ url: server.url, path: path + videoId, token: server.accessToken, fields }) 621 await makePutBodyRequest({ url: server.url, path: path + videoId, token: server.accessToken, fields })