aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/utils.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-08-05 19:18:11 +0200
committerChocobozzz <florian.bigard@gmail.com>2016-08-05 19:18:11 +0200
commitf3391f9237269ed671c23fdbcc9d86dc52134fe5 (patch)
tree2af3b6d4ed7245abe3b70231b341855f3a38f865 /server/tests/api/utils.js
parent10431358b27ec1bb4de7ccd662465cf544f1cdcd (diff)
downloadPeerTube-f3391f9237269ed671c23fdbcc9d86dc52134fe5.tar.gz
PeerTube-f3391f9237269ed671c23fdbcc9d86dc52134fe5.tar.zst
PeerTube-f3391f9237269ed671c23fdbcc9d86dc52134fe5.zip
Server: fix tests
Diffstat (limited to 'server/tests/api/utils.js')
-rw-r--r--server/tests/api/utils.js2
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