From 983175fe936d4c117f8411145e386f97028ecf6e Mon Sep 17 00:00:00 2001 From: Mansi Pandya Date: Wed, 16 Oct 2024 11:55:15 -0400 Subject: [PATCH] Removed other testcases --- .../kotlin/com.mparticle/identity/IdentityApiTest.kt | 4 ---- 1 file changed, 4 deletions(-) diff --git a/android-core/src/androidTest/kotlin/com.mparticle/identity/IdentityApiTest.kt b/android-core/src/androidTest/kotlin/com.mparticle/identity/IdentityApiTest.kt index 10f43d513..1dd86e589 100644 --- a/android-core/src/androidTest/kotlin/com.mparticle/identity/IdentityApiTest.kt +++ b/android-core/src/androidTest/kotlin/com.mparticle/identity/IdentityApiTest.kt @@ -114,8 +114,6 @@ class IdentityApiTest : BaseCleanStartedEachTest() { // test that change actually took place result.addSuccessListener { identityApiResult -> Assert.assertEquals(identityApiResult.user.id, mStartingMpid) - // After Adding Identity caching, it uses previous response - // Assert.assertEquals(identityApiResult.previousUser!!.id, mStartingMpid.toLong()) } com.mparticle.internal.AccessUtils.awaitUploadHandler() request = IdentityApiRequest.withEmptyUser().build() @@ -127,12 +125,10 @@ class IdentityApiTest : BaseCleanStartedEachTest() { MParticle.getInstance()!! .Identity().currentUser!!.id ) - // Assert.assertEquals(identityApiResult.previousUser!!.id, mpid1) latch.countDown() user3Called.value = true } latch.await() - // Assert.assertTrue(user1Called.value) Assert.assertTrue(user3Called.value) }