diff --git a/gradle/libs.versions.toml b/gradle/libs.versions.toml index 2e0397e..88a8f79 100644 --- a/gradle/libs.versions.toml +++ b/gradle/libs.versions.toml @@ -2,7 +2,7 @@ kotlin = "2.0.20" spring-boot = "3.3.4" spring-dependencyManagement = "1.1.6" -ktor = "3.0.0-rc-1" +ktor = "3.0.0-rc-2" 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 4508220..5431176 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 @@ -71,7 +71,7 @@ class RedisClientTest { redisClient.set("a", "3", keyExpirySeconds = 10) - assert(mockEngine.requestHistory[0].url.pathSegments.last() == "a") + assert(mockEngine.requestHistory[0].url.rawSegments.last() == "a") assert(mockEngine.requestHistory[0].url.encodedQuery == "EX=10") assert(mockEngine.requestHistory[0].body.toString() == "TextContent[application/json] \"3\"") assert(mockEngine.responseHistory[0].statusCode == HttpStatusCode.OK) @@ -86,7 +86,7 @@ class RedisClientTest { redisClient.set("a", "3") - assert(mockEngine.requestHistory[0].url.pathSegments.last() == "a") + assert(mockEngine.requestHistory[0].url.rawSegments.last() == "a") assert(mockEngine.requestHistory[0].url.encodedQuery == "EX=3600") assert(mockEngine.requestHistory[0].body.toString() == "TextContent[application/json] \"3\"") assert(mockEngine.responseHistory[0].statusCode == HttpStatusCode.InternalServerError)