loopback/test
andrey-abramow 21e69f0c14
Fix: treat empty access token string as undefined
Fix AccessToken's method tokenIdForRequest to treat an empty string
as if no access token was provided.

This is needed to accomodate the changes made in
loopback-datasource-juggler@2.56.0.
2018-11-26 11:00:02 +01:00
..
e2e Backport separate error checking and done logic 2016-05-06 14:07:38 -07:00
fixtures Add app setting logoutSessionsOnSensitiveChanges 2017-01-20 12:57:23 +01:00
helpers Use English when running Mocha tests 2017-01-27 11:26:24 +01:00
util Backport of #2565 2016-07-29 11:39:47 -04:00
access-control.integration.js Upgrade loopback-testing to the latest ^1.4 2016-09-12 13:21:07 +02:00
access-token.test.js Fix: treat empty access token string as undefined 2018-11-26 11:00:02 +01:00
acl.test.js Update tests to use registry for model creation 2016-09-27 16:44:01 -04:00
app.test.js Add app setting logoutSessionsOnSensitiveChanges 2017-01-20 12:57:23 +01:00
change-stream.test.js Update tests to use registry for model creation 2016-09-27 16:44:01 -04:00
change.test.js Backport separate error checking and done logic 2016-05-06 14:07:38 -07:00
checkpoint.test.js Backport separate error checking and done logic 2016-05-06 14:07:38 -07:00
context-options.test.js Add new flag injectOptionsFromRemoteContext 2017-01-05 10:18:56 +01:00
data-source.test.js Expose upsertWithWhere 2016-09-07 12:41:56 -04:00
email.test.js Support 'alias' in mail transport config. 2016-07-05 10:48:24 -05:00
error-handler.test.js Update dependencies to their latest versions 2016-08-05 10:54:42 +02:00
geo-point.test.js update/insert copyright notices 2016-05-03 17:10:46 -07:00
hidden-properties.test.js Update dependencies to their latest versions 2016-08-05 10:54:42 +02:00
integration.test.js Update tests to use registry for model creation 2016-09-27 16:44:01 -04:00
karma.conf.js Babelify juggler for Karma tests 2018-02-09 10:38:22 -05:00
key-value-model.test.js KeyValueModel: add API for listing keys 2016-08-18 13:34:29 +02:00
loopback.test.js test: fix too strict test assertion 2017-10-17 14:16:20 +02:00
memory.test.js Backport separate error checking and done logic 2016-05-06 14:07:38 -07:00
mocha.opts Use English when running Mocha tests 2017-01-27 11:26:24 +01:00
model.application.test.js Backport separate error checking and done logic 2016-05-06 14:07:38 -07:00
model.test.js Add app setting logoutSessionsOnSensitiveChanges 2017-01-20 12:57:23 +01:00
registries.test.js Update tests to use registry for model creation 2016-09-27 16:44:01 -04:00
relations.integration.js Update tests to use registry for model creation 2016-09-27 16:44:01 -04:00
remote-connector.test.js Add new flag injectOptionsFromRemoteContext 2017-01-05 10:18:56 +01:00
remoting-coercion.test.js Update tests to use registry for model creation 2016-09-27 16:44:01 -04:00
remoting.integration.js Add new flag injectOptionsFromRemoteContext 2017-01-05 10:18:56 +01:00
replication.rest.test.js Add app setting logoutSessionsOnSensitiveChanges 2017-01-20 12:57:23 +01:00
replication.test.js Add option disabling periodic change rectification 2016-12-21 15:39:08 +01:00
rest.middleware.test.js Add app setting logoutSessionsOnSensitiveChanges 2017-01-20 12:57:23 +01:00
role.test.js fix(AccessContext): Tighten userid/appid checks 2017-12-05 08:51:21 -06:00
support.js Add app setting logoutSessionsOnSensitiveChanges 2017-01-20 12:57:23 +01:00
user.integration.js Fix logout to handle no or missing accessToken 2017-01-30 10:39:40 +01:00
user.test.js Add unit test for empty password 2017-07-21 15:46:21 -04:00