summaryrefslogtreecommitdiffhomepage
path: root/test/mocks
diff options
context:
space:
mode:
Diffstat (limited to 'test/mocks')
-rw-r--r--test/mocks/ipc.js4
-rw-r--r--test/mocks/redux.js2
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
},