Test context relative URL with multiple schemes

This commit is contained in:
Eleftheria Stein 2019-10-16 15:32:02 -04:00
parent 1081066d60
commit 264daec697
1 changed files with 1 additions and 1 deletions

View File

@ -52,7 +52,7 @@ public class DefaultRedirectStrategyTests {
MockHttpServletResponse response = new MockHttpServletResponse(); MockHttpServletResponse response = new MockHttpServletResponse();
rds.sendRedirect(request, response, rds.sendRedirect(request, response,
"https://context.blah.com/context/remainder"); "https://https://context.blah.com/context/remainder");
assertThat(response.getRedirectedUrl()).isEqualTo("remainder"); assertThat(response.getRedirectedUrl()).isEqualTo("remainder");
} }