Polishing

See gh-30117
This commit is contained in:
Rossen Stoyanchev
2023-07-10 11:24:30 +01:00
committed by rstoyanchev
parent 47667ab990
commit 22376c2efa
21 changed files with 185 additions and 195 deletions

View File

@@ -63,7 +63,7 @@ class KotlinRestTemplateHttpServiceProxyTests {
val restTemplate = RestTemplate()
restTemplate.uriTemplateHandler = DefaultUriBuilderFactory(server.url("/").toString())
return HttpServiceProxyFactory.builder()
.exchangeAdapter(RestTemplateAdapter.forTemplate(restTemplate))
.exchangeAdapter(RestTemplateAdapter.create(restTemplate))
.build()
.createClient(TestService::class.java)
}