diff options
Diffstat (limited to 'server/tests/api/checkParams.js')
-rw-r--r-- | server/tests/api/checkParams.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/server/tests/api/checkParams.js b/server/tests/api/checkParams.js index a109aba47..e02fd0da5 100644 --- a/server/tests/api/checkParams.js +++ b/server/tests/api/checkParams.js | |||
@@ -299,8 +299,8 @@ describe('Test parameters validator', function () { | |||
299 | .end(function (err, res) { | 299 | .end(function (err, res) { |
300 | if (err) throw err | 300 | if (err) throw err |
301 | 301 | ||
302 | expect(res.body).to.be.an('array') | 302 | expect(res.body.data).to.be.an('array') |
303 | expect(res.body.length).to.equal(3) | 303 | expect(res.body.data.length).to.equal(3) |
304 | 304 | ||
305 | done() | 305 | done() |
306 | }) | 306 | }) |