Skip to content

Commit

Permalink
chore: fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
justin-fiedler committed Jan 30, 2024
1 parent 2bba7e0 commit 91c1921
Showing 1 changed file with 15 additions and 11 deletions.
26 changes: 15 additions & 11 deletions core/src/test/kotlin/com/amplitude/core/AmplitudeTest.kt
Original file line number Diff line number Diff line change
Expand Up @@ -46,12 +46,14 @@ internal class AmplitudeTest {
val testApiKey = "test-123"
val plan = Plan("test-branch", "test")
val ingestionMetadata = IngestionMetadata("ampli", "2.0.0")
amplitude = testAmplitude(Configuration(
testApiKey,
plan = plan,
ingestionMetadata = ingestionMetadata,
serverUrl = server.url("/").toString()
))
amplitude = testAmplitude(
Configuration(
testApiKey,
plan = plan,
ingestionMetadata = ingestionMetadata,
serverUrl = server.url("/").toString()
)
)
}

@AfterEach
Expand All @@ -64,11 +66,13 @@ internal class AmplitudeTest {
@Test
fun `set deviceId`() {
val deviceId = "test-device-id"
amplitude = testAmplitude(Configuration(
"api-key",
deviceId = deviceId,
serverUrl = server.url("/").toString()
))
amplitude = testAmplitude(
Configuration(
"api-key",
deviceId = deviceId,
serverUrl = server.url("/").toString()
)
)
amplitude.isBuilt.invokeOnCompletion {
assertEquals(deviceId, amplitude.store.deviceId)
assertEquals(deviceId, amplitude.getDeviceId())
Expand Down

0 comments on commit 91c1921

Please sign in to comment.