Skip to content

Commit 6dcd72f

Browse files
committed
update the template (generated)
Co-authored-by: Pierre Millot <[email protected]>
1 parent 3bc8411 commit 6dcd72f

File tree

5 files changed

+8
-8
lines changed

5 files changed

+8
-8
lines changed

clients/algoliasearch-client-kotlin/gradle/libs.versions.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,5 @@ ktor-client-darwin = { group = "io.ktor", name = "ktor-client-darwin", version.r
3030
kotlin-multiplaform = { id = "org.jetbrains.kotlin.multiplatform", version.ref = "kotlin" }
3131
kotlinx-serialization = { id = "org.jetbrains.kotlin.plugin.serialization", version.ref = "kotlin" }
3232
kotlinx-binary-validator = { id = "org.jetbrains.kotlinx.binary-compatibility-validator", version = "0.16.3" }
33-
maven-publish = { id = "com.vanniktech.maven.publish", version = "0.29.0" }
33+
maven-publish = { id = "com.vanniktech.maven.publish", version = "0.30.0" }
3434
spotless = { id = "com.diffplug.gradle.spotless", version = "6.23.3" }

docs/guides/kotlin/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ repositories {
1313
dependencies {
1414
implementation("com.algolia:algoliasearch-client-kotlin")
1515
implementation("io.ktor:ktor-client-okhttp:2.3.12")
16-
implementation("ch.qos.logback:logback-classic:1.5.8")
16+
implementation("ch.qos.logback:logback-classic:1.5.10")
1717
implementation("io.github.cdimascio:dotenv-kotlin:6.4.2")
1818
}
1919

docs/snippets/kotlin/build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ repositories {
1313
dependencies {
1414
implementation("com.algolia:algoliasearch-client-kotlin")
1515
implementation("io.ktor:ktor-client-okhttp:2.3.12")
16-
implementation("ch.qos.logback:logback-classic:1.5.8")
16+
implementation("ch.qos.logback:logback-classic:1.5.10")
1717
implementation("io.github.cdimascio:dotenv-kotlin:6.4.2")
1818
}
1919

tests/output/kotlin/src/commonTest/kotlin/com/algolia/e2e/InsightsTest.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class InsightsTest {
4141
index = "products",
4242
userToken = "user-123456",
4343
authenticatedUserToken = "user-123456",
44-
timestamp = 1728345600000L,
44+
timestamp = 1728864000000L,
4545
objectIDs = listOf("9780545139700", "9780439784542"),
4646
queryID = "43b15df305339e827f0ac0bdc5ebcaa7",
4747
),
@@ -51,7 +51,7 @@ class InsightsTest {
5151
index = "products",
5252
userToken = "user-123456",
5353
authenticatedUserToken = "user-123456",
54-
timestamp = 1728345600000L,
54+
timestamp = 1728864000000L,
5555
objectIDs = listOf("9780545139700", "9780439784542"),
5656
),
5757
),

tests/output/kotlin/src/commonTest/kotlin/com/algolia/requests/InsightsTest.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -529,7 +529,7 @@ class InsightsTest {
529529
index = "products",
530530
userToken = "user-123456",
531531
authenticatedUserToken = "user-123456",
532-
timestamp = 1728345600000L,
532+
timestamp = 1728864000000L,
533533
objectIDs = listOf("9780545139700", "9780439784542"),
534534
queryID = "43b15df305339e827f0ac0bdc5ebcaa7",
535535
),
@@ -539,7 +539,7 @@ class InsightsTest {
539539
index = "products",
540540
userToken = "user-123456",
541541
authenticatedUserToken = "user-123456",
542-
timestamp = 1728345600000L,
542+
timestamp = 1728864000000L,
543543
objectIDs = listOf("9780545139700", "9780439784542"),
544544
),
545545
),
@@ -549,7 +549,7 @@ class InsightsTest {
549549
intercept = {
550550
assertEquals("/1/events".toPathSegments(), it.url.pathSegments)
551551
assertEquals(HttpMethod.parse("POST"), it.method)
552-
assertJsonBody("""{"events":[{"eventType":"conversion","eventName":"Product Purchased","index":"products","userToken":"user-123456","authenticatedUserToken":"user-123456","timestamp":1728345600000,"objectIDs":["9780545139700","9780439784542"],"queryID":"43b15df305339e827f0ac0bdc5ebcaa7"},{"eventType":"view","eventName":"Product Detail Page Viewed","index":"products","userToken":"user-123456","authenticatedUserToken":"user-123456","timestamp":1728345600000,"objectIDs":["9780545139700","9780439784542"]}]}""", it.body)
552+
assertJsonBody("""{"events":[{"eventType":"conversion","eventName":"Product Purchased","index":"products","userToken":"user-123456","authenticatedUserToken":"user-123456","timestamp":1728864000000,"objectIDs":["9780545139700","9780439784542"],"queryID":"43b15df305339e827f0ac0bdc5ebcaa7"},{"eventType":"view","eventName":"Product Detail Page Viewed","index":"products","userToken":"user-123456","authenticatedUserToken":"user-123456","timestamp":1728864000000,"objectIDs":["9780545139700","9780439784542"]}]}""", it.body)
553553
},
554554
)
555555
}

0 commit comments

Comments
 (0)