enable all the tests in users-test.js
This commit is contained in:
@@ -62,14 +62,14 @@ const AUDIT_SOURCE = { ip: '1.2.3.4' };
|
||||
|
||||
const ADMIN = {
|
||||
id: null,
|
||||
username: 'admin123',
|
||||
username: 'testadmin',
|
||||
password: 'secret123',
|
||||
email: 'admin@me.com',
|
||||
fallbackEmail: 'admin@me.com',
|
||||
salt: 'morton',
|
||||
createdAt: 'sometime back',
|
||||
resetToken: '',
|
||||
displayName: '',
|
||||
displayName: 'Administrator',
|
||||
groupIds: [],
|
||||
role: 'owner',
|
||||
source: '',
|
||||
@@ -78,19 +78,18 @@ const ADMIN = {
|
||||
};
|
||||
|
||||
const USER = {
|
||||
id: 'uid-userid', // ldap logic relies on uid prefix
|
||||
username: 'uuid213',
|
||||
id: null,
|
||||
username: 'user',
|
||||
password: '123secret',
|
||||
email: 'safe@me.com',
|
||||
fallbackEmail: 'safefallback@me.com',
|
||||
email: 'user@me.com',
|
||||
fallbackEmail: 'user@me.com',
|
||||
role: 'user',
|
||||
salt: 'morton',
|
||||
createdAt: 'sometime back',
|
||||
resetToken: hat(256),
|
||||
resetToken: '',
|
||||
groupIds: [],
|
||||
displayName: '',
|
||||
displayName: 'Normal User',
|
||||
source: '',
|
||||
permissions: null,
|
||||
avatar: constants.AVATAR_NONE,
|
||||
active: true,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user