Ivan - Fix login test

This commit is contained in:
Ivan Diaz 2017-01-10 17:10:28 -03:00
parent 1ca57e1b76
commit 42c1e81fbc
1 changed files with 2 additions and 1 deletions

View File

@ -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'});