We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae9d3df commit 4e2dacdCopy full SHA for 4e2dacd
core/src/test/kotlin/com/segment/analytics/kotlin/core/SettingsTests.kt
@@ -45,19 +45,7 @@ class SettingsTests {
45
fun `checkSettings updates settings`() = runTest {
46
val system = analytics.store.currentState(System::class)
47
val curSettings = system?.settings
48
- assertEquals(
49
- Settings(
50
- integrations = buildJsonObject {
51
- put(
52
- "Segment.io",
53
- buildJsonObject { put("apiKey", "1vNgUqwJeCHmqgI9S1sOm9UHCyfYqbaQ") })
54
- },
55
- plan = emptyJsonObject,
56
- edgeFunction = emptyJsonObject,
57
- middlewareSettings = emptyJsonObject
58
- ),
59
- curSettings
60
- )
+ assertEquals(true, curSettings?.hasIntegrationSettings("Segment.io"))
61
}
62
63
@Test
0 commit comments