mirror of
https://github.com/spring-projects/spring-framework.git
synced 2026-09-24 15:49:26 +00:00
Rename request param version strategy to query param
Closes gh-35263
This commit is contained in:
+1
-1
@@ -54,7 +54,7 @@ public class ApiVersionTests {
|
||||
String param = "api-version";
|
||||
|
||||
Map<String, String> result = performRequest(
|
||||
configurer -> configurer.useRequestParam(param),
|
||||
configurer -> configurer.useQueryParam(param),
|
||||
ApiVersionInserter.useQueryParam(param));
|
||||
|
||||
assertThat(result.get("query")).isEqualTo(param + "=1.2");
|
||||
|
||||
Reference in New Issue
Block a user