Ivan - Fix login test
This commit is contained in:
parent
1ca57e1b76
commit
42c1e81fbc
|
@ -91,7 +91,8 @@ describe('Login/Recover Widget', function () {
|
||||||
renderComponent({
|
renderComponent({
|
||||||
session: {
|
session: {
|
||||||
pending: false,
|
pending: false,
|
||||||
failed: true
|
failed: true,
|
||||||
|
failMessage: 'INVALID_CREDENTIALS'
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
expect(loginForm.props.errors).to.deep.equal({password: 'Invalid password'});
|
expect(loginForm.props.errors).to.deep.equal({password: 'Invalid password'});
|
||||||
|
|
Loading…
Reference in New Issue