diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2017-09-04 13:08:44 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2017-09-04 13:26:11 +0200 |
| commit | 9b4ca3b9d73255ee573cf12c69893208326682fe (patch) | |
| tree | 4818423a3e26b568ba20c8b1ec484d1bf5effd2f /test/mocks | |
| parent | fb1ae90a3b4fdb1601a4602929b62d706fb5192e (diff) | |
| download | mullvadvpn-9b4ca3b9d73255ee573cf12c69893208326682fe.tar.xz mullvadvpn-9b4ca3b9d73255ee573cf12c69893208326682fe.zip | |
Change accountNumber to accountToken
Diffstat (limited to 'test/mocks')
| -rw-r--r-- | test/mocks/ipc.js | 4 | ||||
| -rw-r--r-- | test/mocks/redux.js | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/test/mocks/ipc.js b/test/mocks/ipc.js index 3acdc2f76d..d28c49e6f6 100644 --- a/test/mocks/ipc.js +++ b/test/mocks/ipc.js @@ -15,9 +15,9 @@ export function newMockIpc() { const mockIpc: IpcFacade & MockIpc = { setConnectionString: (_str: string) => {}, - getAccountData: (accountNumber) => { + getAccountData: (accountToken) => { return new Promise(r => r({ - accountNumber: accountNumber, + accountToken: accountToken, expiry: '', })); }, diff --git a/test/mocks/redux.js b/test/mocks/redux.js index 9d4759b1d3..71dafc7f1f 100644 --- a/test/mocks/redux.js +++ b/test/mocks/redux.js @@ -7,7 +7,7 @@ export const mockStore = configureMockStore(middlewares); export const mockState = () => { return { account: { - accountNumber: null, + accountToken: null, status: 'none', error: null }, |
