This is an automated email from the ASF dual-hosted git repository. lburgazzoli pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/master by this push: new e43b7b6 chore: add tests for quarkusio/quarkus#4408 e43b7b6 is described below commit e43b7b65733b4b743c2c9d6c3d96d0051a331413 Author: lburgazzoli <lburgazz...@gmail.com> AuthorDate: Mon Oct 21 19:43:39 2019 +0200 chore: add tests for quarkusio/quarkus#4408 --- .../quarkus/component/http/server/it/PlatformHttpEngineTest.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/integration-tests/platform-http-engine/src/test/java/org/apache/camel/quarkus/component/http/server/it/PlatformHttpEngineTest.java b/integration-tests/platform-http-engine/src/test/java/org/apache/camel/quarkus/component/http/server/it/PlatformHttpEngineTest.java index 9a47b41..c8aecd6 100644 --- a/integration-tests/platform-http-engine/src/test/java/org/apache/camel/quarkus/component/http/server/it/PlatformHttpEngineTest.java +++ b/integration-tests/platform-http-engine/src/test/java/org/apache/camel/quarkus/component/http/server/it/PlatformHttpEngineTest.java @@ -21,6 +21,7 @@ import io.restassured.RestAssured; import org.apache.camel.component.platform.http.PlatformHttpComponent; import org.apache.camel.component.platform.http.PlatformHttpConstants; import org.apache.camel.quarkus.component.platform.http.runtime.QuarkusPlatformHttpEngine; +import org.junit.jupiter.api.Disabled; import org.junit.jupiter.api.Test; import static org.hamcrest.CoreMatchers.equalTo; @@ -49,4 +50,11 @@ class PlatformHttpEngineTest { .statusCode(200) .body(equalTo("platform-http/hello")); } + + @Disabled("https://github.com/quarkusio/quarkus/issues/4408") + @Test + public void invalidMethod() { + RestAssured.post("/platform-http/hello") + .then().statusCode(405); + } }