- it('Should fail with a bad nsfw attribute', async function () {
- const fields = immutableAssign(baseCorrectParams, { nsfw: 2 })
-
- await makePutBodyRequest({ url: server.url, path: path + videoId, token: server.accessToken, fields })
- })
-
- it('Should fail with a bad commentsEnabled attribute', async function () {
- const fields = immutableAssign(baseCorrectParams, { commentsEnabled: 2 })
-
- await makePutBodyRequest({ url: server.url, path: path + videoId, token: server.accessToken, fields })
- })
-