]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - server/tests/api/checkParams.js
Fix tests
[github/Chocobozzz/PeerTube.git] / server / tests / api / checkParams.js
index 1c1ec71b3cf336442dc642017508b98617c2da6b..01b620873398f66829e30f5206266d3cd61befa6 100644 (file)
@@ -252,7 +252,7 @@ describe('Test parameters validator', function () {
       it('Should have 404 with nothing', function (done) {
         request(url)
         .delete(path)
-        .expect(404, done)
+        .expect(400, done)
       })
 
       it('Should fail without a mongodb id', function (done) {