Server: fix tests
This commit is contained in:
parent
10431358b2
commit
f3391f9237
1 changed files with 1 additions and 1 deletions
|
@ -483,7 +483,7 @@ function updateUser (url, userId, accessToken, newPassword, end) {
|
|||
.set('Accept', 'application/json')
|
||||
.set('Authorization', 'Bearer ' + accessToken)
|
||||
.send({ password: newPassword })
|
||||
.expect(200)
|
||||
.expect(204)
|
||||
.end(end)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue