parent
0d05aa521b
commit
d14c49519e
|
@ -13,11 +13,11 @@ describe('Client setPassword', () => {
|
||||||
expect(error.message).toEqual(`Modifiable password only via recovery or by an administrator`);
|
expect(error.message).toEqual(`Modifiable password only via recovery or by an administrator`);
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should change the password of the client', async() => {
|
fit('should change the password of the client', async() => {
|
||||||
let error;
|
let error;
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await models.Client.setPassword(1101, 't0pl3v3l.p455w0rd!');
|
await models.Client.setPassword(1105, 't0pl3v3l.p455w0rd!');
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
error = e;
|
error = e;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue