diff --git a/test/support/assert.js b/test/support/assert.js index 47c2ae51..3541f278 100644 --- a/test/support/assert.js +++ b/test/support/assert.js @@ -48,6 +48,10 @@ assert.response = function(server, req, res, callback) { requestParams.body = req.body || req.data; } + if (req.formData) { + requestParams.formData = req.formData; + } + debug('Request params', requestParams); request(requestParams, function assert$response$requestHandler(error, response, body) { debug('Request response', error);