Commit 4784c748 authored by Davide De Rosa's avatar Davide De Rosa
Browse files

Fix unit tests

parent 8226ee19
......@@ -17,7 +17,11 @@ class VPNTests: XCTestCase {
Client.database = Client.Database(group: "group.com.privateinternetaccess")
Client.providers.vpnProvider = MockVPNProvider()
Client.preferences.vpnDisconnectsOnSleep = true
let prefs = Client.preferences.editable()
prefs.vpnDisconnectsOnSleep = true
prefs.commit()
Client.bootstrap()
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment