We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d86e6ee commit 6aa17b1Copy full SHA for 6aa17b1
1 file changed
lib/src/androidTest/java/at/bitfire/cert4android/OkhttpTest.kt
@@ -59,8 +59,10 @@ class OkhttpTest {
59
// set cert4android TrustManager and HostnameVerifier
60
val certManager = CustomCertManager(
61
CustomCertStore.getInstance(context),
62
- trustSystemCerts = true,
63
- appInForeground = null
+ object : SettingsProvider {
+ override val appInForeground = null
64
+ override val trustSystemCerts = true
65
+ }
66
)
67
68
val sslContext = SSLContext.getInstance("TLS")
0 commit comments