1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-05 19:42:24 +02:00

Fix tests

This commit is contained in:
Chocobozzz 2016-03-07 18:53:03 +01:00
parent 6a1e67b30a
commit 3d446a26ad
11 changed files with 21 additions and 11 deletions

View 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) {