diff --git a/back/methods/account/specs/set-password.spec.js b/back/methods/account/specs/set-password.spec.js index c5b781348..c76fd52b8 100644 --- a/back/methods/account/specs/set-password.spec.js +++ b/back/methods/account/specs/set-password.spec.js @@ -10,6 +10,6 @@ describe('account changePassword()', () => { it('should update password when it passes requirements', async() => { let req = app.models.Account.setPassword(1, 'Very$ecurePa22.'); - await expectAsync(req).toBeRejected(); + await expectAsync(req).toBeResolved(); }); });