Skip to content

Commit 585fd34

Browse files
committed
Remove unused argument and redundant method
1 parent 67bfe2d commit 585fd34

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

integration-tests/src/test/java/com/mattbertolini/spring/web/servlet/mvc/test/PathParameterIntegrationTest.java

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ void bindsUsingMap() throws Exception {
7575

7676
@Test
7777
void hasBindingResult() throws Exception {
78-
makeRequest("/bindingResult/expectedValue", "annotated_field")
78+
makeRequest("/bindingResult/expectedValue")
7979
.andExpect(status().isOk())
8080
.andExpect(content().string("0"));
8181
}
@@ -109,11 +109,6 @@ void bindsUsingJavaRecord() throws Exception {
109109
.andExpect(content().string("expectedValue"));
110110
}
111111

112-
private ResultActions makeRequest(String path, String inputParameter) throws Exception {
113-
return mockMvc.perform(get(path)
114-
.accept(MediaType.TEXT_PLAIN));
115-
}
116-
117112
private ResultActions makeRequest(String path) throws Exception {
118113
return mockMvc.perform(get(path)
119114
.accept(MediaType.TEXT_PLAIN))

0 commit comments

Comments
 (0)