diff --git a/test/app.test.js b/test/app.test.js index 699f175d..2832a7b3 100644 --- a/test/app.test.js +++ b/test/app.test.js @@ -177,7 +177,7 @@ describe('app', function() { it('starts http server', function(done) { var app = loopback(); app.set('port', 0); - app.get('/', function(req, res) { res.send(200, 'OK'); }); + app.get('/', function(req, res) { res.status(200).send('OK'); }); var server = app.listen();