aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
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)