Skip to content

Commit

Permalink
KTOR-1197 fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
rsinukov committed Dec 2, 2020
1 parent b8f66a6 commit d361be0
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,10 @@ class HttpsRedirectFeatureTest {
application.install(HttpsRedirect) {
excludeSuffix("exempted")
}
application.intercept(ApplicationCallPipeline.Fallback) {
call.respond("ok")
application.routing {
get("/path/exempted") {
call.respond("ok")
}
}

handleRequest(HttpMethod.Get, "/exemptednot").let { call ->
Expand Down

0 comments on commit d361be0

Please sign in to comment.