From 69340028d3bd1535a471c2ba18b3e45d0c4045b1 Mon Sep 17 00:00:00 2001 From: Mansi Pandya Date: Fri, 9 Aug 2024 10:48:10 -0400 Subject: [PATCH] update test cases --- .../test/kotlin/com/mparticle/kits/KitConfigurationTest.kt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/android-kit-base/src/test/kotlin/com/mparticle/kits/KitConfigurationTest.kt b/android-kit-base/src/test/kotlin/com/mparticle/kits/KitConfigurationTest.kt index fa1a076b4..b4fae413d 100644 --- a/android-kit-base/src/test/kotlin/com/mparticle/kits/KitConfigurationTest.kt +++ b/android-kit-base/src/test/kotlin/com/mparticle/kits/KitConfigurationTest.kt @@ -754,7 +754,8 @@ class KitConfigurationTest { val jsn = """ { "name": "John", - "age": "30" + "age": "30", + "18683141": 0 } """.trimIndent() val jsonConfiguration = JSONObject(jsn) @@ -765,7 +766,7 @@ class KitConfigurationTest { method.isAccessible = true val result = method.invoke(kitConfiguration, jsonConfiguration) as SparseBooleanArray - Assert.assertEquals(0, result.size()) + Assert.assertEquals(1, result.size()) } @Test