This is an automated email from the ASF dual-hosted git repository. orpiske pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/camel.git
commit 0d793d3964c3858852d39cd689ee7a497b9eccc9 Author: Otavio Rodolfo Piske <[email protected]> AuthorDate: Sat Jan 24 20:02:46 2026 +0000 CAMEL-21196: modernize exception-based assertions in camel-clickup Replace fail(e) pattern with throw new AssertionError for modernized exception handling. --- .../apache/camel/component/clickup/ClickUpWebhookRegistrationTest.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/camel-clickup/src/test/java/org/apache/camel/component/clickup/ClickUpWebhookRegistrationTest.java b/components/camel-clickup/src/test/java/org/apache/camel/component/clickup/ClickUpWebhookRegistrationTest.java index 6c96994c3044..961ce9d32b92 100644 --- a/components/camel-clickup/src/test/java/org/apache/camel/component/clickup/ClickUpWebhookRegistrationTest.java +++ b/components/camel-clickup/src/test/java/org/apache/camel/component/clickup/ClickUpWebhookRegistrationTest.java @@ -81,7 +81,7 @@ public class ClickUpWebhookRegistrationTest extends ClickUpTestSupport { assertInstanceOf(WebhookCreationCommand.class, command); } catch (IOException e) { - fail(e); + throw new AssertionError("Failed to parse recorded message", e); } mockProcessor.clearRecordedMessages();
