From 42c1e81fbc70037386ae5df292360f732c5486ff Mon Sep 17 00:00:00 2001 From: Ivan Diaz Date: Tue, 10 Jan 2017 17:10:28 -0300 Subject: [PATCH] Ivan - Fix login test --- .../main-home/__tests__/main-home-page-login-widget-test.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/client/src/app/main/main-home/__tests__/main-home-page-login-widget-test.js b/client/src/app/main/main-home/__tests__/main-home-page-login-widget-test.js index 56089230..ae22410a 100644 --- a/client/src/app/main/main-home/__tests__/main-home-page-login-widget-test.js +++ b/client/src/app/main/main-home/__tests__/main-home-page-login-widget-test.js @@ -91,7 +91,8 @@ describe('Login/Recover Widget', function () { renderComponent({ session: { pending: false, - failed: true + failed: true, + failMessage: 'INVALID_CREDENTIALS' } }); expect(loginForm.props.errors).to.deep.equal({password: 'Invalid password'});