Skip to content

Commit

Permalink
[java] Using an actually unsupported method in tests, OPTIONS method …
Browse files Browse the repository at this point in the history
…support was added by commit 4d4eed0
  • Loading branch information
barancev committed Jul 16, 2020
1 parent a5536df commit e99e306
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ public void returnsAnErrorForUnhandledMethods() {
EmbeddedChannel channel = new EmbeddedChannel(converter);

FullHttpRequest httpRequest = new DefaultFullHttpRequest(
HttpVersion.HTTP_1_1, HttpMethod.OPTIONS, "/cheese");
HttpVersion.HTTP_1_1, HttpMethod.PATCH, "/cheese");

assertThat(channel.writeInbound(httpRequest)).isFalse();
FullHttpResponse res = channel.readOutbound();
Expand Down

0 comments on commit e99e306

Please sign in to comment.