Hi, so I created a JUnit test in common main and made a https request. Works fine on android but when I try running it using iOS, I get an error:
failed with exception: io.ktor.client.engine.ios.IosHttpRequestException: Exception in http request: Error Domain=NSURLErrorDomain Code=-1202 “The certificate for this server is invalid. You might be connecting to a server that is pretending to be “
dev.acme.com” which could put your confidential information at risk.” UserInfo={NSLocalizedRecoverySuggestion=Would you like to connect to the server anyway?, _kCFStreamErrorDomainKey=3, NSErrorPeerCertificateChainKey=(
I can see KampKit does not test network calls.
NB: i added the url to the prod code and the error did not appear so I assume there is something in the unit test run context that needs to be changed.