From: Chocobozzz Date: Tue, 11 Jun 2019 14:13:50 +0000 (+0200) Subject: Fix user tests X-Git-Tag: v1.4.0-rc.1~166 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=675a8fc74faefa0161b0754bd61c710de7a449c5;p=github%2FChocobozzz%2FPeerTube.git Fix user tests --- 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 () { expect(user.autoPlayVideo).to.be.false }) - it('Should be able to change the email display attribute', async function () { + it('Should be able to change the email attribute', async function () { await updateMyUser({ url: server.url, accessToken: accessTokenUser, + currentPassword: 'new password', email: 'updated@example.com' })