COUNT: { min: 0 }
},
VIDEO_COMMENTS: {
- TEXT: { min: 1, max: 3000 }, // Length
+ TEXT: { min: 1, max: 10000 }, // Length
URL: { min: 3, max: 2000 } // Length
},
VIDEO_SHARE: {
it('Should fail with a long comment', async function () {
const fields = {
- text: 'h'.repeat(3001)
+ text: 'h'.repeat(10001)
}
await makePostBodyRequest({ url: server.url, path: pathThread, token: server.accessToken, fields })
})
it('Should fail with a long comment', async function () {
const fields = {
- text: 'h'.repeat(3001)
+ text: 'h'.repeat(10001)
}
await makePostBodyRequest({ url: server.url, path: pathComment, token: server.accessToken, fields })
})