Created
August 30, 2019 18:10
-
-
Save danhyun/ad79f17d440876a4499daf05563f0c5a to your computer and use it in GitHub Desktop.
spring mock mvc rest assured please stop encoding my paths
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RestAssuredMockMvc.requestSpecification = MockMvcRequestSpecBuilder() | |
.setMockHttpServletRequestBuilderInterceptor { b -> | |
b.with { r -> r.apply { requestURI = pathInfo } } | |
}.build() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment