summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
authorLinus Färnstrand <linus@mullvad.net>2017-11-17 09:52:18 +0100
committerAndrej Mihajlov <and@mullvad.net>2017-11-23 12:40:26 +0100
commit7f358e5f5b9080e451ee16bf1e544f65509ea772 (patch)
tree96d690d8304bb1776cf0837ac56dc0ae59ff2f22 /test
parent1c8d25391788d23cce0234f896c5490e4d11e92c (diff)
downloadmullvadvpn-7f358e5f5b9080e451ee16bf1e544f65509ea772.tar.xz
mullvadvpn-7f358e5f5b9080e451ee16bf1e544f65509ea772.zip
Rename get_location -> get_current_location
Diffstat (limited to 'test')
-rw-r--r--test/mocks/ipc.js4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/mocks/ipc.js b/test/mocks/ipc.js
index 367332d3c6..db5d6e3d8c 100644
--- a/test/mocks/ipc.js
+++ b/test/mocks/ipc.js
@@ -47,8 +47,10 @@ export function newMockIpc() {
getPublicIp: () => Promise.resolve('1.2.3.4'),
getLocation: () => Promise.resolve({
- city: '',
country: '',
+ country_code: '',
+ city: '',
+ city_code: '',
position: [0, 0],
}),