diff --git a/modules/client/front/web-access/index.spec.js b/modules/client/front/web-access/index.spec.js index c9e33e51e..caaf5c7ff 100644 --- a/modules/client/front/web-access/index.spec.js +++ b/modules/client/front/web-access/index.spec.js @@ -80,13 +80,13 @@ describe('Component VnClientWebAccess', () => { }); describe(`when password is empty`, () => { - it(`should throw Passwords can't be empty error`, () => { + it(`should throw 'You must enter a new password' error`, () => { controller.client = {id: '1234'}; controller.newPassword = ''; controller.canChangePassword = true; controller.onPassChange('ACCEPT'); - expect(vnApp.showError).toHaveBeenCalledWith(`Passwords can't be empty`); + expect(vnApp.showError).toHaveBeenCalledWith(`You must enter a new password`); }); });