Fix WebTestClientWebConnection for redirects

This commit is contained in:
Rob Winch 2017-11-03 08:46:56 -05:00
parent 06c4bffc5f
commit 1d4c7da1e1
1 changed files with 1 additions and 1 deletions

View File

@ -84,7 +84,7 @@ public class WebTestClientWebConnection implements WebConnection {
long startTime = System.currentTimeMillis();
FluxExchangeResult<String> exchangeResult = this.requestBuilder.getResponse(webRequest);
webRequest.setUrl(exchangeResult.getUrl().toURL());
return new MockWebResponseBuilder(startTime, webRequest, exchangeResult).build();
}