Harmonize use of uri in MockMvc

Closes gh-32915
This commit is contained in:
Stéphane Nicoll
2024-05-28 11:17:40 +02:00
parent 54c07eddcc
commit fc54cf4430
4 changed files with 72 additions and 72 deletions

View File

@@ -109,7 +109,7 @@ class MockHttpServletRequestBuilderTests {
@Test // gh-24556
void requestUriWithoutScheme() {
assertThatIllegalArgumentException().isThrownBy(() -> MockMvcRequestBuilders.get("localhost:8080/path"))
.withMessage("'url' should start with a path or be a complete HTTP URL: localhost:8080/path");
.withMessage("'uri' should start with a path or be a complete HTTP URI: localhost:8080/path");
}
@Test