Skip to content

Commit

Permalink
clean-up test case for local cache time.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sachin Maheshwari committed Dec 19, 2018
1 parent d368264 commit d16413d
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/auth/m2m.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ const config = {
AUTH0_CLIENT_SECRET: process.env.TEST_AUTH0_CLIENT_SECRET || '',
AUTH0_URL: process.env.TEST_AUTH0_URL || '',
AUTH0_AUDIENCE: process.env.TEST_AUTH0_AUDIENCE || '',
TOKEN_CACHE_TIME: 0,
JWT_KEY_CACHE_TIME: '24h',
AUTH0_PROXY_SERVER_URL: process.env.TEST_AUTH0_PROXY_SERVER_URL
}
Expand Down Expand Up @@ -62,7 +61,6 @@ describe('Machine to Machine token', () => {
})
})

config.TOKEN_CACHE_TIME = process.env.TEST_TOKEN_CACHE_TIME || 60000
var m2mCached = m2mAuth(config)

it('should be generated the same token if it cached', (done) => {
Expand Down

0 comments on commit d16413d

Please sign in to comment.