Bring ported test back

This commit is contained in:
Daniel García Aubert
2017-09-26 17:31:57 +02:00
parent 383c8305cc
commit 4600005a86
2 changed files with 5 additions and 3 deletions
+2 -2
View File
@@ -18,8 +18,8 @@ config.status--test:
config/environments/test.js: config.status--test
./config.status--test
# FIXME: remove -not -path filer
TEST_SUITE := $(shell find test/{acceptance,integration,unit} -name "*.js" -not -path "*ported*" -not -path "*overviews_queries*")
# FIXME: remove -not -path filer -not -path "*ported*" -not -path "*overviews_queries*"
TEST_SUITE := $(shell find test/{acceptance,integration,unit} -name "*.js")
TEST_SUITE_UNIT := $(shell find test/unit -name "*.js")
TEST_SUITE_INTEGRATION := $(shell find test/integration -name "*.js")
TEST_SUITE_ACCEPTANCE := $(shell find test/acceptance -name "*.js")
+3 -1
View File
@@ -211,7 +211,9 @@ module.exports = function(serverOptions) {
var versions = getAndValidateVersions(serverOptions);
const prepareContext = prepareContextMiddleware(authApi, pgConnection);
const prepareContext = typeof serverOptions.req2params === 'function' ?
serverOptions.req2params :
prepareContextMiddleware(authApi, pgConnection);
/*******************************************************************************************************************
* Routing