Fix tests
This commit is contained in:
@@ -81,6 +81,8 @@ async function setup() {
|
||||
// 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() + (60 * 60 * 1000), name: 'fromtest' });
|
||||
user.token = token.accessToken;
|
||||
|
||||
await settings._set(settings.CLOUDRON_TOKEN_KEY, exports.appstoreToken); // appstore token
|
||||
}
|
||||
|
||||
async function cleanup() {
|
||||
|
||||
Reference in New Issue
Block a user