]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/commitdiff
Fix user tests
authorChocobozzz <me@florianbigard.com>
Tue, 11 Jun 2019 14:13:50 +0000 (16:13 +0200)
committerChocobozzz <me@florianbigard.com>
Tue, 11 Jun 2019 14:13:50 +0000 (16:13 +0200)
server/tests/api/users/users.ts

index b1f214fe210f75d250d9049262b184340aebcf67..403d1a0897e6f06ff41629ad8d3442caf08c0e0f 100644 (file)
@@ -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'
       })