diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 88a8f79..c782804 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -1,8 +1,8 @@ [versions] -kotlin = "2.0.20" +kotlin = "2.0.21" spring-boot = "3.3.4" spring-dependencyManagement = "1.1.6" -ktor = "3.0.0-rc-2" +ktor = "3.0.0" dgsBom = "9.1.2" dgsCodegen = "6.3.0" detekt = "1.23.7" diff --git a/src/test/kotlin/io/github/reactivecircus/kstreamlined/backend/redis/RedisClientTest.kt b/src/test/kotlin/io/github/reactivecircus/kstreamlined/backend/redis/RedisClientTest.kt index 5431176..4983a1f 100644 --- a/src/test/kotlin/io/github/reactivecircus/kstreamlined/backend/redis/RedisClientTest.kt +++ b/src/test/kotlin/io/github/reactivecircus/kstreamlined/backend/redis/RedisClientTest.kt @@ -14,7 +14,7 @@ class RedisClientTest { @Test fun `get(key) returns result when API call succeeds`() = runBlocking { val mockEngine = MockEngine { request -> - when (request.url.pathSegments.last()) { + when (request.url.rawSegments.last()) { "a" -> respond(content = "{ \"result\": null }") "b" -> respond(content = "{ \"result\": 3 }") "c" -> respond(content = "{ \"result\": \"foo\" }")