This commit is contained in:
parent
89ea931d9c
commit
4bc62a30bd
|
@ -42,7 +42,9 @@ describe('worker setPassword()', () => {
|
|||
|
||||
await tx.rollback();
|
||||
} catch (e) {
|
||||
expect(e.message).toEqual(`This password can only be changed by the user themselves`);
|
||||
expect(e.message).toEqual(
|
||||
'Through this procedure, it is not possible to modify the password of users with verified email'
|
||||
);
|
||||
await tx.rollback();
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue