aboutsummaryrefslogtreecommitdiffhomepage
path: root/server/tests/api/check-params.js
diff options
context:
space:
mode:
Diffstat (limited to 'server/tests/api/check-params.js')
-rw-r--r--server/tests/api/check-params.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/check-params.js b/server/tests/api/check-params.js
index d9e51770c..9aecc3720 100644
--- a/server/tests/api/check-params.js
+++ b/server/tests/api/check-params.js
@@ -456,7 +456,7 @@ describe('Test parameters validator', function () {
456 }) 456 })
457 }) 457 })
458 458
459 it('Should fail without a mongodb id', function (done) { 459 it('Should fail without a correct uuid', function (done) {
460 request(server.url) 460 request(server.url)
461 .get(path + 'coucou') 461 .get(path + 'coucou')
462 .set('Accept', 'application/json') 462 .set('Accept', 'application/json')
@@ -481,7 +481,7 @@ describe('Test parameters validator', function () {
481 .expect(400, done) 481 .expect(400, done)
482 }) 482 })
483 483
484 it('Should fail without a mongodb id', function (done) { 484 it('Should fail without a correct uuid', function (done) {
485 request(server.url) 485 request(server.url)
486 .delete(path + 'hello') 486 .delete(path + 'hello')
487 .set('Authorization', 'Bearer ' + server.accessToken) 487 .set('Authorization', 'Bearer ' + server.accessToken)