Skip to content

Commit

Permalink
fix: unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
kkostov committed Oct 4, 2024
1 parent 866991c commit ef91e36
Showing 1 changed file with 7 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@ class EnvironmentParameterProviderTest {

Assert.assertNotNull(queuedSignal)
Assert.assertEquals(
queuedSignal?.payload?.contains("TelemetryDeck.SDK.version:com.telemetrydeck.sdk"),
true
true,
queuedSignal?.payload?.contains("TelemetryDeck.SDK.version:com.telemetrydeck.sdk")

)
}

Expand All @@ -40,8 +41,8 @@ class EnvironmentParameterProviderTest {

Assert.assertNotNull(queuedSignal)
Assert.assertEquals(
queuedSignal?.payload?.contains("telemetryClientVersion:my value"),
true
true,
queuedSignal?.payload?.contains("telemetryClientVersion:my value")
)
}

Expand All @@ -57,8 +58,8 @@ class EnvironmentParameterProviderTest {

Assert.assertNotNull(queuedSignal)
Assert.assertEquals(
queuedSignal?.payload?.contains("TelemetryDeck.SDK.buildType:debug"),
true
true,
queuedSignal?.payload?.filter { it.startsWith("TelemetryDeck.SDK.buildType:") }?.isNotEmpty()
)
}
}

0 comments on commit ef91e36

Please sign in to comment.