tokens table always has canonical scope

This commit is contained in:
Girish Ramakrishnan
2018-06-17 22:52:36 -07:00
parent b6b7d08af3
commit 898cbd01b3
7 changed files with 12 additions and 11 deletions

View File

@@ -33,14 +33,14 @@ describe('janitor', function () {
identifier: '0',
clientId: 'clientid-0',
expires: Date.now() + 60 * 60 * 1000,
scope: '*'
scope: 'settings'
};
var TOKEN_1 = {
accessToken: tokendb.generateToken(),
identifier: '1',
clientId: 'clientid-1',
expires: Date.now() - 1000,
scope: '*',
scope: 'apps',
};
before(function (done) {