aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-06-11 15:59:10 +0200
committerChocobozzz <me@florianbigard.com>2019-06-11 16:05:03 +0200
commit5efab5467cacb4cce584e2d36e4133a701d8c983 (patch)
treef0f2289e2e88df598404b115c719ac05f3e2e170 /server/tests/api/check-params
parent0ba5f5baade94a051710d9d9d408ac8083c14ac6 (diff)
downloadPeerTube-5efab5467cacb4cce584e2d36e4133a701d8c983.tar.gz
PeerTube-5efab5467cacb4cce584e2d36e4133a701d8c983.tar.zst
PeerTube-5efab5467cacb4cce584e2d36e4133a701d8c983.zip
Add more embed parameters
Diffstat (limited to 'server/tests/api/check-params')
-rw-r--r--server/tests/api/check-params/users.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/tests/api/check-params/users.ts b/server/tests/api/check-params/users.ts
index 3268f8c90..2316033a1 100644
--- a/server/tests/api/check-params/users.ts
+++ b/server/tests/api/check-params/users.ts
@@ -379,8 +379,7 @@ describe('Test users API validators', function () {
379 it('Should succeed without password change with the correct params', async function () { 379 it('Should succeed without password change with the correct params', async function () {
380 const fields = { 380 const fields = {
381 nsfwPolicy: 'blur', 381 nsfwPolicy: 'blur',
382 autoPlayVideo: false, 382 autoPlayVideo: false
383 email: 'super_email@example.com'
384 } 383 }
385 384
386 await makePutBodyRequest({ url: server.url, path: path + 'me', token: userAccessToken, fields, statusCodeExpected: 204 }) 385 await makePutBodyRequest({ url: server.url, path: path + 'me', token: userAccessToken, fields, statusCodeExpected: 204 })