Added missing param in MockTunnels

Signed-off-by: Eric Kuck <eric@bluelinelabs.com>
This commit is contained in:
Eric Kuck 2018-12-20 13:51:44 -06:00
parent b23578dc7c
commit c2131cb757

View File

@ -37,7 +37,7 @@ class MockTunnels {
let tunnelConfiguration = TunnelConfiguration(interface: interface, peers: [peer])
let tunnelProviderManager = NETunnelProviderManager()
tunnelProviderManager.protocolConfiguration = NETunnelProviderProtocol(tunnelConfiguration: tunnelConfiguration)
tunnelProviderManager.protocolConfiguration = NETunnelProviderProtocol(tunnelConfiguration: tunnelConfiguration, isActivateOnDemandEnabled: false)
tunnelProviderManager.localizedDescription = tunnelName
tunnelProviderManager.isEnabled = true