Update tests

This commit is contained in:
Sergey Abramchuk
2020-06-10 08:45:07 +03:00
parent 7f32ff342d
commit 27c6233e3f

View File

@@ -99,9 +99,8 @@ class OpenVPNAdapterTests: XCTestCase {
expectations[.connection] = expectation(description: "me.ss-abramchuk.openvpn-adapter.connection")
adapter.packetFlow = customFlow
adapter.delegate = self
adapter.connect()
adapter.connect(using: customFlow)
waitForExpectations(timeout: 30.0) { (error) in
adapter.disconnect()