No issue: Disable failing ActivationPingTest

nightly-build-test
Jonathan Almeida 5 years ago committed by Jonathan Almeida
parent 52542708aa
commit 353ecab44e

@ -120,6 +120,10 @@ android {
packagingOptions {
exclude 'META-INF/atomicfu.kotlin_module'
}
testOptions {
unitTests.returnDefaultValues = true
}
}
android.applicationVariants.all { variant ->

@ -19,12 +19,14 @@ import io.mockk.verify
import kotlinx.coroutines.runBlocking
import org.junit.Assert.assertEquals
import org.junit.Assert.assertNull
import org.junit.Ignore
import org.junit.Test
import org.mockito.ArgumentMatchers.any
import org.mockito.ArgumentMatchers.anyString
import java.io.IOException
internal class ActivationPingTest {
@Ignore("This test has side-effects that cause it to fail other unrelated tests.")
@Test
fun `getAdvertisingID() returns null if the API throws`() {
mockkStatic(AdvertisingIdClient::class)

Loading…
Cancel
Save