diff --git a/test/unit/authentication-test.js b/test/unit/authentication-test.js index d4bb37f..e4e66e1 100644 --- a/test/unit/authentication-test.js +++ b/test/unit/authentication-test.js @@ -68,7 +68,7 @@ const config = { public_paths: ['/public'], authorization: { enabled: false, - type: 'idm', // idm|iShare|xacml|authzforce|opa|azf + pdp: 'idm', // idm|iShare|xacml|authzforce|opa|azf header: undefined, // NGSILD-Tenant|fiware-service azf: { protocol: 'http', diff --git a/test/unit/authzforce-pdp-test.js b/test/unit/authzforce-pdp-test.js index f95a0ea..7e9fc0b 100644 --- a/test/unit/authzforce-pdp-test.js +++ b/test/unit/authzforce-pdp-test.js @@ -84,7 +84,7 @@ const config = { public_paths: [], authorization: { enabled: true, - type: 'authzforce', // idm|iShare|xacml|authzforce|opa|azf + pdp: 'authzforce', // idm|iShare|xacml|authzforce|opa|azf header: undefined, // NGSILD-Tenant|fiware-service azf: { protocol: 'http', diff --git a/test/unit/connection-test.js b/test/unit/connection-test.js index 989ff15..f8c725f 100644 --- a/test/unit/connection-test.js +++ b/test/unit/connection-test.js @@ -38,7 +38,7 @@ const config = { public_paths: [], authorization: { enabled: true, - type: 'azf', + pdp: 'azf', azf: { protocol: 'http', host: 'authzforce.com', diff --git a/test/unit/ishare-test.js b/test/unit/ishare-test.js index 5f31586..37aa87e 100644 --- a/test/unit/ishare-test.js +++ b/test/unit/ishare-test.js @@ -170,7 +170,7 @@ const config = { public_paths: ['/public'], authorization: { enabled: true, - type: 'ishare', // idm|iShare|xacml|authzforce|opa|azf + pdp: 'ishare', // idm|iShare|xacml|authzforce|opa|azf header: 'fiware-service', ishare: { protocol: 'http', diff --git a/test/unit/jwt-authentication-test.js b/test/unit/jwt-authentication-test.js index 0724119..6393ebc 100644 --- a/test/unit/jwt-authentication-test.js +++ b/test/unit/jwt-authentication-test.js @@ -76,7 +76,7 @@ const config = { public_paths: ['/public'], authorization: { enabled: false, - type: 'idm', // idm|iShare|xacml|authzforce|opa|azf + pdp: 'idm', // idm|iShare|xacml|authzforce|opa|azf header: undefined, // NGSILD-Tenant|fiware-service azf: { protocol: 'http', diff --git a/test/unit/keyrock-pdp-test.js b/test/unit/keyrock-pdp-test.js index be49881..8e85899 100644 --- a/test/unit/keyrock-pdp-test.js +++ b/test/unit/keyrock-pdp-test.js @@ -85,7 +85,7 @@ const config = { public_paths: [], authorization: { enabled: true, - type: 'idm' // idm|iShare|xacml|authzforce|opa|azf + pdp: 'idm' // idm|iShare|xacml|authzforce|opa|azf } }; diff --git a/test/unit/opa-pdp-test.js b/test/unit/opa-pdp-test.js index 7c7b65c..9b61d8b 100644 --- a/test/unit/opa-pdp-test.js +++ b/test/unit/opa-pdp-test.js @@ -144,7 +144,7 @@ const config = { public_paths: [], authorization: { enabled: true, - type: 'opa', // idm|iShare|xacml|authzforce|opa|azf + pdp: 'opa', // idm|iShare|xacml|authzforce|opa|azf header: 'fiware-service', opa: { protocol: 'http', diff --git a/test/unit/start-up-test.js b/test/unit/start-up-test.js index 24d8b35..b7af3a7 100644 --- a/test/unit/start-up-test.js +++ b/test/unit/start-up-test.js @@ -24,7 +24,7 @@ const config = { public_paths: [], authorization: { enabled: false, - type: 'authzforce' // idm|iShare|xacml|authzforce|opa|azf + pdp: 'authzforce' // idm|iShare|xacml|authzforce|opa|azf } }; diff --git a/test/unit/xacml-pdp-test.js b/test/unit/xacml-pdp-test.js index 3d54561..d24ea29 100644 --- a/test/unit/xacml-pdp-test.js +++ b/test/unit/xacml-pdp-test.js @@ -113,7 +113,7 @@ const config = { public_paths: [], authorization: { enabled: true, - type: 'xacml', // idm|iShare|xacml|authzforce|opa|azf + pdp: 'xacml', // idm|iShare|xacml|authzforce|opa|azf header: 'fiware-service', xacml: { protocol: 'http',