We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent be8483d commit 18106b3Copy full SHA for 18106b3
spring-web/src/test/java/org/springframework/web/bind/annotation/RequestMethodTests.java
@@ -41,6 +41,10 @@ void resolveString() {
41
@Test
42
void resolveHttpMethod() {
43
for (HttpMethod httpMethod : HttpMethod.values()) {
44
+ if (HttpMethod.CONNECT.equals(httpMethod)) {
45
+ assertThat(RequestMethod.resolve(httpMethod)).isNull();
46
+ continue;
47
+ }
48
RequestMethod requestMethod = RequestMethod.resolve(httpMethod);
49
assertThat(requestMethod).isNotNull();
50
assertThat(requestMethod.name()).isEqualTo(httpMethod.name());
0 commit comments