Skip to content
This repository has been archived by the owner on Apr 15, 2019. It is now read-only.

Commit

Permalink
Fix login test
Browse files Browse the repository at this point in the history
  • Loading branch information
slaweet committed Sep 21, 2017
1 parent 3b98503 commit 643258e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/login/login.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ describe('Login', () => {

it('should show error about passphrase length if passphrase is have wrong length', () => {
const passphrase = 'recipe bomb asset salon coil symbol tiger engine assist pact pumpkin';
const expectedError = 'Passphrase should have 12 words, entered passphrase has length';
const expectedError = 'Passphrase should have 12 words, entered passphrase has 11';
wrapper.find('.passphrase input').simulate('change', { target: { value: passphrase } });
expect(wrapper.find('.passphrase').text()).to.contain(expectedError);
});
Expand Down

0 comments on commit 643258e

Please sign in to comment.