diff options
Diffstat (limited to 'server/tests')
-rw-r--r-- | server/tests/api/check-params/videos.ts | 8 |
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 }) |