From 42152cd1f3eb9eefddf38c5fdf79ba9a024ed91a Mon Sep 17 00:00:00 2001 From: Mansi Pandya Date: Wed, 30 Oct 2024 17:14:05 -0400 Subject: [PATCH] fix crossplatform testcase --- 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)