aboutsummaryrefslogtreecommitdiffhomepage
path: root/server
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2019-06-11 16:13:50 +0200
committerChocobozzz <me@florianbigard.com>2019-06-11 16:13:50 +0200
commit675a8fc74faefa0161b0754bd61c710de7a449c5 (patch)
treec3a029bb139c2c3fa3830768e23b29a42a0bc044 /server
parent5efab5467cacb4cce584e2d36e4133a701d8c983 (diff)
downloadPeerTube-675a8fc74faefa0161b0754bd61c710de7a449c5.tar.gz
PeerTube-675a8fc74faefa0161b0754bd61c710de7a449c5.tar.zst
PeerTube-675a8fc74faefa0161b0754bd61c710de7a449c5.zip
Fix user tests
Diffstat (limited to 'server')
-rw-r--r--server/tests/api/users/users.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/server/tests/api/users/users.ts b/server/tests/api/users/users.ts
index b1f214fe2..403d1a089 100644
--- a/server/tests/api/users/users.ts
+++ b/server/tests/api/users/users.ts
@@ -468,10 +468,11 @@ describe('Test users', function () {
468 expect(user.autoPlayVideo).to.be.false 468 expect(user.autoPlayVideo).to.be.false
469 }) 469 })
470 470
471 it('Should be able to change the email display attribute', async function () { 471 it('Should be able to change the email attribute', async function () {
472 await updateMyUser({ 472 await updateMyUser({
473 url: server.url, 473 url: server.url,
474 accessToken: accessTokenUser, 474 accessToken: accessTokenUser,
475 currentPassword: 'new password',
475 email: 'updated@example.com' 476 email: 'updated@example.com'
476 }) 477 })
477 478