Skip to content

Commit

Permalink
Fix Android test
Browse files Browse the repository at this point in the history
  • Loading branch information
yschimke committed Sep 22, 2019
1 parent dcc552d commit e23d44e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ import java.security.Security
import javax.net.ssl.SSLPeerUnverifiedException
import javax.net.ssl.SSLSocket
import okhttp3.internal.platform.AndroidPlatform
import okhttp3.internal.platform.AndroidQPlatform
import okhttp3.internal.platform.Android10Platform

/**
* Run with "./gradlew :android-test:connectedCheck" and make sure ANDROID_SDK_ROOT is set.
Expand Down Expand Up @@ -86,7 +86,7 @@ class OkHttpTest {
@Test
fun testPlatform() {
if (Build.VERSION.SDK_INT >= 29) {
assertTrue(Platform.get() is AndroidQPlatform)
assertTrue(Platform.get() is Android10Platform)
} else {
assertTrue(Platform.get() is AndroidPlatform)
}
Expand Down

0 comments on commit e23d44e

Please sign in to comment.