From 5fe66b144a1387548c28383f1864c21dec9841a0 Mon Sep 17 00:00:00 2001 From: Sergey Abramchuk Date: Tue, 16 Jun 2020 13:06:22 +0300 Subject: [PATCH] Use general profile to test configurations --- Tests/OpenVPNAdapter/OpenVPNConfigurationTests.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/OpenVPNAdapter/OpenVPNConfigurationTests.swift b/Tests/OpenVPNAdapter/OpenVPNConfigurationTests.swift index 04b0dac..e2ac8b8 100644 --- a/Tests/OpenVPNAdapter/OpenVPNConfigurationTests.swift +++ b/Tests/OpenVPNAdapter/OpenVPNConfigurationTests.swift @@ -24,7 +24,7 @@ class OpenVPNConfigurationTests: XCTestCase { } func testGetSetProfile() { - guard let originalProfile = VPNProfile.configuration.data(using: .utf8) else { fatalError() } + guard let originalProfile = VPNProfile.general.configuration.data(using: .utf8) else { fatalError() } let configuration = OpenVPNConfiguration() @@ -84,7 +84,7 @@ class OpenVPNConfigurationTests: XCTestCase { } func testGetSetRemote() { - guard let originalProfile = VPNProfile.configuration.data(using: .utf8) else { fatalError() } + guard let originalProfile = VPNProfile.general.configuration.data(using: .utf8) else { fatalError() } let originalServer = "192.168.1.200" let originalPort: UInt = 12000