diff options
| author | Erik Larkö <erik@mullvad.net> | 2017-09-27 15:39:28 +0200 |
|---|---|---|
| committer | Erik Larkö <erik@mullvad.net> | 2017-09-27 16:48:44 +0200 |
| commit | 8cc8ddf675148bcf8a4f6f88f93d8d03311855eb (patch) | |
| tree | 8432b6292940b1520c5addd6a92a72b2b46724a7 /test | |
| parent | 9f2626e847184dd632bdf7319446f2f6a864581c (diff) | |
| download | mullvadvpn-8cc8ddf675148bcf8a4f6f88f93d8d03311855eb.tar.xz mullvadvpn-8cc8ddf675148bcf8a4f6f88f93d8d03311855eb.zip | |
Send [null] with the logout call instead of []
Diffstat (limited to 'test')
| -rw-r--r-- | test/logout.spec.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/logout.spec.js b/test/logout.spec.js index 9b44f83ca6..0e295aef9b 100644 --- a/test/logout.spec.js +++ b/test/logout.spec.js @@ -7,13 +7,13 @@ import accountActions from '../app/redux/account/actions'; describe('logging out', () => { - it('should set the account to the empty string and then disconnect', (done) => { + it('should set the account to null and then disconnect', (done) => { const { mockIpc, backend } = setupBackendAndStore(); const chain = new IpcChain(mockIpc); chain.require('setAccount') .withInputValidation((num) => { - expect(num).to.equal(''); + expect(num).to.be.null; }) .done(); chain.require('disconnect') |
