From 0c78433b7e698b8ee467c64273868dcd930439f8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20Bajto=C5=A1?= Date: Thu, 1 Sep 2016 10:24:56 +0200 Subject: [PATCH] test: fix deprecation warnings --- test/helper.js | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/test/helper.js b/test/helper.js index da9a89c..e1ee625 100644 --- a/test/helper.js +++ b/test/helper.js @@ -20,6 +20,12 @@ function createRestAppAndListen() { app.set('host', '127.0.0.1'); app.set('port', 0); + app.set('legacyExplorer', false); + app.set('remoting', { + errorHandler: { debug: true, log: false }, + context: false, + }); + app.use(loopback.rest()); app.locals.handler = app.listen();