This is an automated email from the ASF dual-hosted git repository. JiriOndrusek pushed a commit to branch camel-main in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
commit 643e10b0f9dc000d6b2dd4f525c0647bad99f019 Author: jiriOndrusek-agent <[email protected]> AuthorDate: Wed Nov 11 10:53:15 2026 +0000 Fix telegram location test for Camel CAMEL-22857 changes MessageResult is now a Jackson 3 type, so map the response with JACKSON_3. Co-Authored-By: Claude Opus 5.5 <[email protected]> --- .../org/apache/camel/quarkus/component/telegram/it/TelegramTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration-tests/telegram/src/test/java/org/apache/camel/quarkus/component/telegram/it/TelegramTest.java b/integration-tests/telegram/src/test/java/org/apache/camel/quarkus/component/telegram/it/TelegramTest.java index 6f22ba2f7de..fcc0a8845e4 100644 --- a/integration-tests/telegram/src/test/java/org/apache/camel/quarkus/component/telegram/it/TelegramTest.java +++ b/integration-tests/telegram/src/test/java/org/apache/camel/quarkus/component/telegram/it/TelegramTest.java @@ -157,14 +157,14 @@ public class TelegramTest { final SendLocationMessage sendLoc = new SendLocationMessage(29.974834, 31.138577); sendLoc.setLivePeriod(120); - // MessageResult is a Jackson 2 type with a Jackson 2 JsonNode field + // MessageResult is a Jackson 3 type with a Jackson 3 JsonNode field final MessageResult result = RestAssured.given() .contentType(ContentType.JSON) .body(sendLoc) .post("/telegram/send-location") .then() .statusCode(201) - .extract().body().as(MessageResult.class, ObjectMapperType.JACKSON_2); + .extract().body().as(MessageResult.class, ObjectMapperType.JACKSON_3); /* Update the location */ final EditMessageLiveLocationMessage edit = new EditMessageLiveLocationMessage(29.974928, 31.131115);
