mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-10-10 09:09:04 +00:00
URL Cleanup - Fix broken tests
See gh-22680
This commit is contained in:
+2
-2
@@ -618,7 +618,7 @@ public class HtmlUnitRequestBuilderTests {
|
||||
|
||||
@Test
|
||||
public void buildRequestRemotePort80WithDefault() throws Exception {
|
||||
webRequest.setUrl(new URL("https://example.com/"));
|
||||
webRequest.setUrl(new URL("http://example.com/"));
|
||||
|
||||
MockHttpServletRequest actualRequest = requestBuilder.buildRequest(servletContext);
|
||||
|
||||
@@ -650,7 +650,7 @@ public class HtmlUnitRequestBuilderTests {
|
||||
@Test
|
||||
public void buildRequestUrl() {
|
||||
String uri = requestBuilder.buildRequest(servletContext).getRequestURL().toString();
|
||||
assertThat(uri, equalTo("https://example.com/test/this/here"));
|
||||
assertThat(uri, equalTo("http://example.com/test/this/here"));
|
||||
}
|
||||
|
||||
@Test
|
||||
|
||||
Reference in New Issue
Block a user