From b5489568fdb4ec7c785b05af79bf13ea21dfbf65 Mon Sep 17 00:00:00 2001 From: Sergey Abramchuk Date: Thu, 27 Sep 2018 16:50:44 +0300 Subject: [PATCH] Update configuration test --- Tests/OpenVPNConfigurationTests.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/OpenVPNConfigurationTests.swift b/Tests/OpenVPNConfigurationTests.swift index dcb2aef..7b5e343 100644 --- a/Tests/OpenVPNConfigurationTests.swift +++ b/Tests/OpenVPNConfigurationTests.swift @@ -24,7 +24,7 @@ class OpenVPNConfigurationTests: XCTestCase { } func testGetSetProfile() { - let originalProfile = ProfileLoader.getVPNProfile(type: .localVPNServer) + guard let originalProfile = VPNProfile.configuration.data(using: .utf8) else { fatalError() } let configuration = OpenVPNConfiguration()