From 5bb4cde5934f02d3261a33c668615203388a1335 Mon Sep 17 00:00:00 2001 From: Raymond Feng Date: Sat, 26 Jul 2014 14:37:13 -0700 Subject: [PATCH] Update test case to remove usage of deprecated express apis --- test/app.test.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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();