mirror of https://github.com/Chocobozzz/PeerTube
Server: fix tests
parent
10431358b2
commit
f3391f9237
|
@ -483,7 +483,7 @@ function updateUser (url, userId, accessToken, newPassword, end) {
|
||||||
.set('Accept', 'application/json')
|
.set('Accept', 'application/json')
|
||||||
.set('Authorization', 'Bearer ' + accessToken)
|
.set('Authorization', 'Bearer ' + accessToken)
|
||||||
.send({ password: newPassword })
|
.send({ password: newPassword })
|
||||||
.expect(200)
|
.expect(204)
|
||||||
.end(end)
|
.end(end)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue