Skip to content

Commit

Permalink
Ktor 3.0.0-rc-1.
Browse files Browse the repository at this point in the history
  • Loading branch information
ychescale9 committed Sep 12, 2024
1 parent 6d41fb8 commit 902f78d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gradle/libs.versions.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
kotlin = "2.0.20"
spring-boot = "3.3.3"
spring-dependencyManagement = "1.1.6"
ktor = "3.0.0-beta-2"
ktor = "3.0.0-rc-1"
dgsBom = "9.1.0"
dgsCodegen = "6.3.0"
detekt = "1.23.6"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ class DataLoaderTest {
}

assert(localCache.getIfPresent("key") == listOf(1, 2, 3))
assert(redisMockEngine.requestHistory.last().url.pathSegments.last() == "key")
assert(redisMockEngine.requestHistory.last().url.segments.last() == "key")
assert(redisMockEngine.requestHistory.last().url.encodedQuery == "EX=${1.hours.inWholeSeconds}")
assert(redisMockEngine.requestHistory.last().body.toString() == "TextContent[application/json] \"[1,2,3]\"")
assert(redisMockEngine.responseHistory.last().statusCode == HttpStatusCode.OK)
Expand Down Expand Up @@ -151,7 +151,7 @@ class DataLoaderTest {
}

assert(localCache.getIfPresent("key") == listOf(1, 2, 3, 4))
assert(redisMockEngine.requestHistory.last().url.pathSegments.last() == "key")
assert(redisMockEngine.requestHistory.last().url.segments.last() == "key")
assert(redisMockEngine.requestHistory.last().url.encodedQuery == "EX=${1.hours.inWholeSeconds}")
assert(redisMockEngine.requestHistory.last().body.toString() == "TextContent[application/json] \"[1,2,3,4]\"")
assert(redisMockEngine.responseHistory.last().statusCode == HttpStatusCode.OK)
Expand Down

0 comments on commit 902f78d

Please sign in to comment.