summaryrefslogtreecommitdiffhomepage
path: root/test/mocks/ipc.js
diff options
context:
space:
mode:
authorErik Larkö <erik@mullvad.net>2017-08-07 13:30:10 +0200
committerErik Larkö <erik@mullvad.net>2017-08-07 13:30:10 +0200
commitdbd9843c12eef4828468fd9ea4500280ea5caa69 (patch)
treee2d93e9c150681522459e619bc2d7cff5e433695 /test/mocks/ipc.js
parent0fd8de3cdfdf8957ad3362643fcd8e8ef9888794 (diff)
parent0990f4cfbe4df6675637b97df429d2155000d7ff (diff)
downloadmullvadvpn-dbd9843c12eef4828468fd9ea4500280ea5caa69.tar.xz
mullvadvpn-dbd9843c12eef4828468fd9ea4500280ea5caa69.zip
Merge branch 'autologin-actions'
Diffstat (limited to 'test/mocks/ipc.js')
-rw-r--r--test/mocks/ipc.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/mocks/ipc.js b/test/mocks/ipc.js
index bd99b8d680..c182d45d21 100644
--- a/test/mocks/ipc.js
+++ b/test/mocks/ipc.js
@@ -15,8 +15,9 @@ export function newMockIpc() {
const mockIpc: IpcFacade & MockIpc = {
setConnectionString: (_str: string) => {},
- getAccountData: () => {
+ getAccountData: (accountNumber) => {
return new Promise(r => r({
+ accountNumber: accountNumber,
paid_until: '',
}));
},