Skip to content

Commit

Permalink
dev into main
Browse files Browse the repository at this point in the history
  • Loading branch information
markvdouw committed Jul 21, 2023
1 parent 2fb8c71 commit 50e9eaa
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions src/test/kotlin/com/mparticle/kits/LeanplumKitTests.kt
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import com.leanplum.Leanplum
import com.leanplum.LeanplumDeviceIdMode
import com.mparticle.MParticle
import com.mparticle.MParticle.IdentityType
import com.mparticle.MParticleOptions
import com.mparticle.MockMParticle
import com.mparticle.identity.MParticleUser
import org.junit.Assert
Expand All @@ -30,11 +31,12 @@ class LeanplumKitTests {
@Test
@Throws(Exception::class)
fun testClassName() {
val factory = KitIntegrationFactory()
val integrations = factory.knownIntegrations
val options = Mockito.mock(MParticleOptions::class.java)
val factory = KitIntegrationFactory(options)
val integrations = factory.supportedKits.values
val className = kit.javaClass.name
for (integration in integrations) {
if (integration.value == className) {
if (integration.name == className) {
return
}
}
Expand Down

0 comments on commit 50e9eaa

Please sign in to comment.