summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/actions.spec.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/actions.spec.js b/test/actions.spec.js
index 8097de7721..d8f8bfbc26 100644
--- a/test/actions.spec.js
+++ b/test/actions.spec.js
@@ -34,7 +34,7 @@ describe('actions', function() {
it('should logout', (done) => {
const expectedActions = [
- { type: 'USER_LOGIN_CHANGE', payload: { account: null, paidUntil: null, status: 'none', error: null } },
+ { type: 'USER_LOGIN_CHANGE', payload: { account: '', paidUntil: null, status: 'none', error: null } },
];
const store = mockStore(mockState());
@@ -117,7 +117,7 @@ describe('actions', function() {
it('should disconnect from VPN server on logout', (done) => {
const expectedActions = [
- { type: 'USER_LOGIN_CHANGE', payload: { account: null, paidUntil: null, status: 'none', error: null } },
+ { type: 'USER_LOGIN_CHANGE', payload: { account: '', paidUntil: null, status: 'none', error: null } },
{ type: 'CONNECTION_CHANGE', payload: { serverAddress: null, status: 'disconnected' } }
];