From: Chocobozzz Date: Fri, 5 Aug 2016 17:18:11 +0000 (+0200) Subject: Server: fix tests X-Git-Tag: v0.0.1-alpha~796 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=f3391f9237269ed671c23fdbcc9d86dc52134fe5;p=github%2FChocobozzz%2FPeerTube.git Server: fix tests --- 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) { .set('Accept', 'application/json') .set('Authorization', 'Bearer ' + accessToken) .send({ password: newPassword }) - .expect(200) + .expect(204) .end(end) }