This PR will allow Swift and ObjC api client to run pact-tests against pact-mock-service started with a self signed SSL certificate.
Updates ObjC OCAnimalServiceClient to accept self signed certificates by conforming to NSURLSessionDataDelegate
Exposes a convenience initialiser on PactVerificationService so a custom PactVerificationService can be initialised
Exposes a convenience initialiser on MockService so a custom PactVerificationService can be used
Moves delegate method func urlSession(_ session: didReceive challenge: completionHandler:) into same scope as owner of .dataTask() so that the delegate method does get called
Adds PactSwiftSSLSpecs that runs a test against https://localhost with a self signed cert
Starts two pact-mock-services, one http on port 1234, and one https on port 2345 at test pre-action
This PR will allow Swift and ObjC api client to run pact-tests against
pact-mock-service
started with a self signed SSL certificate.OCAnimalServiceClient
to accept self signed certificates by conforming toNSURLSessionDataDelegate
PactVerificationService
so a custom PactVerificationService can be initialisedMockService
so a customPactVerificationService
can be usedfunc urlSession(_ session: didReceive challenge: completionHandler:)
into same scope as owner of.dataTask()
so that the delegate method does get calledPactSwiftSSLSpecs
that runs a test against https://localhost with a self signed certpact-mock-service
s, one http on port 1234, and one https on port 2345 at test pre-actionpact-mock-service
s at test post-action