tests: bump expiry of token
This commit is contained in:
@@ -100,7 +100,7 @@ function setup(done) {
|
||||
user.id = result.body.id;
|
||||
|
||||
// HACK to get a token for second user (passwords are generated and the user should have gotten a password setup link...)
|
||||
const token = await tokens.add({ identifier: user.id, clientId: 'test-client-id', expires: Date.now() + 10000, name: 'fromtest' });
|
||||
const token = await tokens.add({ identifier: user.id, clientId: 'test-client-id', expires: Date.now() + (60 * 60 * 1000), name: 'fromtest' });
|
||||
user.token = token.accessToken;
|
||||
callback();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user