diff --git a/lib/src/test/java/com/telemetrydeck/sdk/EnvironmentMetadataProviderTest.kt b/lib/src/test/java/com/telemetrydeck/sdk/EnvironmentMetadataProviderTest.kt index 919b905..5b40ffe 100644 --- a/lib/src/test/java/com/telemetrydeck/sdk/EnvironmentMetadataProviderTest.kt +++ b/lib/src/test/java/com/telemetrydeck/sdk/EnvironmentMetadataProviderTest.kt @@ -25,7 +25,7 @@ class EnvironmentMetadataProviderTest { true ) Assert.assertEquals( - queuedSignal?.payload?.contains("TelemetryDeck.SDK.version:com.telemetrydeck.sdk"), + queuedSignal?.payload?.any { it.startsWith("TelemetryDeck.SDK.version:") }, true ) } diff --git a/lib/src/test/java/com/telemetrydeck/sdk/providers/EnvironmentParameterProviderTest.kt b/lib/src/test/java/com/telemetrydeck/sdk/providers/EnvironmentParameterProviderTest.kt index 49ec13f..5ef9340 100644 --- a/lib/src/test/java/com/telemetrydeck/sdk/providers/EnvironmentParameterProviderTest.kt +++ b/lib/src/test/java/com/telemetrydeck/sdk/providers/EnvironmentParameterProviderTest.kt @@ -24,7 +24,7 @@ class EnvironmentParameterProviderTest { Assert.assertNotNull(queuedSignal) Assert.assertEquals( true, - queuedSignal?.payload?.contains("TelemetryDeck.SDK.version:com.telemetrydeck.sdk") + queuedSignal?.payload?.any { it.startsWith("TelemetryDeck.SDK.version:") } ) }