Server: fix tests
authorChocobozzz <florian.bigard@gmail.com>
Fri, 5 Aug 2016 17:18:11 +0000 (19:18 +0200)
committerChocobozzz <florian.bigard@gmail.com>
Fri, 5 Aug 2016 17:18:11 +0000 (19:18 +0200)
server/tests/api/utils.js

index 0dc309328470026460c79f1b0cace36a6d27480b..8871f1f84273065c6e7ff066b10cb7b20d84a173 100644 (file)
@@ -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)
 }