From 91c1921a1561376cf4b54617f5273e342c4af58a Mon Sep 17 00:00:00 2001 From: "justin.fiedler" Date: Tue, 30 Jan 2024 21:13:45 +0000 Subject: [PATCH] chore: fix lint --- .../com/amplitude/core/AmplitudeTest.kt | 26 +++++++++++-------- 1 file changed, 15 insertions(+), 11 deletions(-) diff --git a/core/src/test/kotlin/com/amplitude/core/AmplitudeTest.kt b/core/src/test/kotlin/com/amplitude/core/AmplitudeTest.kt index 928ebbfc..03f795a5 100644 --- a/core/src/test/kotlin/com/amplitude/core/AmplitudeTest.kt +++ b/core/src/test/kotlin/com/amplitude/core/AmplitudeTest.kt @@ -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 @@ -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())