tokens: add lastUsedTime
This commit is contained in:
@@ -22,7 +22,8 @@ describe('janitor', function () {
|
||||
clientId: 'clientid-0',
|
||||
expires: Date.now() + 60 * 60 * 1000,
|
||||
scope: 'settings',
|
||||
name: 'clientid0'
|
||||
name: 'clientid0',
|
||||
lastUsedTime: null
|
||||
};
|
||||
var TOKEN_1 = {
|
||||
id: 'tid-1',
|
||||
@@ -31,7 +32,8 @@ describe('janitor', function () {
|
||||
clientId: 'clientid-1',
|
||||
expires: Date.now() - 1000,
|
||||
scope: 'apps',
|
||||
name: 'clientid1'
|
||||
name: 'clientid1',
|
||||
lastUsedTime: null
|
||||
};
|
||||
|
||||
before(function (done) {
|
||||
|
||||
Reference in New Issue
Block a user