From c648bdb1249b76105a52936b2854f66f17a34080 Mon Sep 17 00:00:00 2001 From: Mansi-mParticle <159845845+Mansi-mParticle@users.noreply.github.com> Date: Wed, 30 Oct 2024 17:33:22 -0400 Subject: [PATCH] fix: crossplatform testcase (#173) --- src/test/kotlin/com/mparticle/kits/mocks/MockKitManagerImpl.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/kotlin/com/mparticle/kits/mocks/MockKitManagerImpl.kt b/src/test/kotlin/com/mparticle/kits/mocks/MockKitManagerImpl.kt index 7aa1d98..3bddfd8 100644 --- a/src/test/kotlin/com/mparticle/kits/mocks/MockKitManagerImpl.kt +++ b/src/test/kotlin/com/mparticle/kits/mocks/MockKitManagerImpl.kt @@ -30,7 +30,7 @@ class MockKitManagerImpl( CoreCallbacks::class.java ) ) { - Mockito.`when`(mCoreCallbacks.kitListener).thenReturn(KitListener.EMPTY) + Mockito.`when`(mCoreCallbacks.getKitListener()).thenReturn(KitListener.EMPTY) } @Throws(JSONException::class)