summaryrefslogtreecommitdiffhomepage
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/mocks/ipc.js14
1 files changed, 9 insertions, 5 deletions
diff --git a/test/mocks/ipc.js b/test/mocks/ipc.js
index 8b98e9309a..5b3b7ea1ac 100644
--- a/test/mocks/ipc.js
+++ b/test/mocks/ipc.js
@@ -31,11 +31,15 @@ export function newMockIpc() {
updateRelaySettings: () => Promise.resolve(),
getRelaySettings: () => Promise.resolve({
- host: { only: 'www.example.com' },
- tunnel: { openvpn: {
- port: 'any',
- protocol: 'any',
- }},
+ custom_tunnel_endpoint: {
+ host: 'www.example.com',
+ tunnel: {
+ openvpn: {
+ port: 1300,
+ protocol: 'udp',
+ }
+ }
+ },
}),
connect: () => Promise.resolve(),