diff options
| author | Erik Larkö <erik@mullvad.net> | 2017-08-23 13:34:14 +0200 |
|---|---|---|
| committer | Erik Larkö <erik@mullvad.net> | 2017-08-23 13:34:14 +0200 |
| commit | fb1f92d111cd752a6b9edafc8dff58d5b8a59042 (patch) | |
| tree | 33bfda12fe7954ba86ba72d9e49ceeafccc999f1 /test | |
| parent | da4f2903b14dbd09b088e44d6acf58d91d3df990 (diff) | |
| parent | 87179385e5ecba924bef4eef749631c7816aaeca (diff) | |
| download | mullvadvpn-fb1f92d111cd752a6b9edafc8dff58d5b8a59042.tar.xz mullvadvpn-fb1f92d111cd752a6b9edafc8dff58d5b8a59042.zip | |
Merge branch 'autologin-ux-fix'
Diffstat (limited to 'test')
| -rw-r--r-- | test/autologin.spec.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/autologin.spec.js b/test/autologin.spec.js index 628dc145eb..0c031b15ca 100644 --- a/test/autologin.spec.js +++ b/test/autologin.spec.js @@ -59,9 +59,9 @@ describe('autologin', () => { .then( () => { const state = store.getState().account; - expect(state.status).to.equal('failed'); + expect(state.status).to.equal('none'); expect(state.accountNumber).to.be.null; - expect(state.error).not.to.be.null; + expect(state.error).to.be.null; }); }); @@ -75,8 +75,8 @@ describe('autologin', () => { .then( () => { const state = store.getState().account; - expect(state.status).to.equal('failed'); - expect(state.error).not.to.be.null; + expect(state.status).to.equal('none'); + expect(state.error).to.be.null; }); }); |
