aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
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
parent0ba5f5baade94a051710d9d9d408ac8083c14ac6 (diff)
downloadPeerTube-5efab5467cacb4cce584e2d36e4133a701d8c983.tar.gz
PeerTube-5efab5467cacb4cce584e2d36e4133a701d8c983.tar.zst
PeerTube-5efab5467cacb4cce584e2d36e4133a701d8c983.zip
Add more embed parameters
Diffstat (limited to 'server')
-rw-r--r--server/tests/api/check-params/users.ts3
-rw-r--r--server/tests/api/users/users-verification.ts3
2 files changed, 3 insertions, 3 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 })
diff --git a/server/tests/api/users/users-verification.ts b/server/tests/api/users/users-verification.ts
index b8fa1430b..7cd61f539 100644
--- a/server/tests/api/users/users-verification.ts
+++ b/server/tests/api/users/users-verification.ts
@@ -109,7 +109,8 @@ describe('Test users account verification', function () {
109 await updateMyUser({ 109 await updateMyUser({
110 url: server.url, 110 url: server.url,
111 accessToken: userAccessToken, 111 accessToken: userAccessToken,
112 email: 'updated@example.com' 112 email: 'updated@example.com',
113 currentPassword: user1.password
113 }) 114 })
114 115
115 await waitJobs(server) 116 await waitJobs(server)