Server: fix tests

pull/10/head
Chocobozzz 2016-08-05 19:18:11 +02:00
parent 10431358b2
commit f3391f9237
1 changed files with 1 additions and 1 deletions

View File

@ -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)
} }