Update test case to remove usage of deprecated express apis
This commit is contained in:
parent
852ea5534a
commit
5bb4cde593
|
@ -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();
|
||||
|
||||
|
|
Loading…
Reference in New Issue