aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/checkParams.js
diff options
context:
space:
mode:
authorChocobozzz <florian.bigard@gmail.com>2016-03-07 18:53:03 +0100
committerChocobozzz <florian.bigard@gmail.com>2016-03-07 18:53:03 +0100
commit3d446a26ada901331faaaf3be9083dfe6773b50a (patch)
tree35262fa99301db3f22ca6e61a84ce346ed4f4bb7 /server/tests/api/checkParams.js
parent6a1e67b30a77b0e24314617f794a7122dd83c570 (diff)
downloadPeerTube-3d446a26ada901331faaaf3be9083dfe6773b50a.tar.gz
PeerTube-3d446a26ada901331faaaf3be9083dfe6773b50a.tar.zst
PeerTube-3d446a26ada901331faaaf3be9083dfe6773b50a.zip
Fix tests
Diffstat (limited to 'server/tests/api/checkParams.js')
-rw-r--r--server/tests/api/checkParams.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/tests/api/checkParams.js b/server/tests/api/checkParams.js
index 1c1ec71b3..01b620873 100644
--- a/server/tests/api/checkParams.js
+++ b/server/tests/api/checkParams.js
@@ -252,7 +252,7 @@ describe('Test parameters validator', function () {
252 it('Should have 404 with nothing', function (done) { 252 it('Should have 404 with nothing', function (done) {
253 request(url) 253 request(url)
254 .delete(path) 254 .delete(path)
255 .expect(404, done) 255 .expect(400, done)
256 }) 256 })
257 257
258 it('Should fail without a mongodb id', function (done) { 258 it('Should fail without a mongodb id', function (done) {