diff --git a/packages/unleash-api/package.json b/packages/unleash-api/package.json index d6a9fa63c0..ba69386649 100644 --- a/packages/unleash-api/package.json +++ b/packages/unleash-api/package.json @@ -52,7 +52,7 @@ "deep-diff": "^0.3.3", "errorhandler": "1.3.5", "express": "4.13.4", - "express-validator": "2.20.3", + "express-validator": "2.20.8", "install": "^0.6.1", "knex": "^0.10.0", "log4js": "0.6.35", diff --git a/packages/unleash-api/test/e2e/featureArchiveApiSpec.js b/packages/unleash-api/test/e2e/featureArchiveApiSpec.js index 9c7db4f2ce..1a350c949a 100644 --- a/packages/unleash-api/test/e2e/featureArchiveApiSpec.js +++ b/packages/unleash-api/test/e2e/featureArchiveApiSpec.js @@ -35,6 +35,7 @@ describe('The archive features api', () => { it('must set name when reviving toggle', done => { request .post('/archive/revive') + .send({ name: '' }) .expect(400, done); }); });