diff options
-rw-r--r-- | server/tests/api/utils.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/utils.js b/server/tests/api/utils.js index 0dc309328..8871f1f84 100644 --- a/server/tests/api/utils.js +++ b/server/tests/api/utils.js | |||
@@ -483,7 +483,7 @@ function updateUser (url, userId, accessToken, newPassword, end) { | |||
483 | .set('Accept', 'application/json') | 483 | .set('Accept', 'application/json') |
484 | .set('Authorization', 'Bearer ' + accessToken) | 484 | .set('Authorization', 'Bearer ' + accessToken) |
485 | .send({ password: newPassword }) | 485 | .send({ password: newPassword }) |
486 | .expect(200) | 486 | .expect(204) |
487 | .end(end) | 487 | .end(end) |
488 | } | 488 | } |
489 | 489 | ||