This is an automated email from the ASF dual-hosted git repository.

davsclaus pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-spring-boot.git


The following commit(s) were added to refs/heads/main by this push:
     new aeb1287ccf4 Apply fixes from CAMEL-18506 (#634)
aeb1287ccf4 is described below

commit aeb1287ccf4cbc06755f42fe0ab9afa7d757003f
Author: Tom Cunningham <tcunn...@redhat.com>
AuthorDate: Mon Sep 26 00:32:35 2022 -0400

    Apply fixes from CAMEL-18506 (#634)
---
 .../telegram/springboot/TelegramConsumerHealthCheckErrorTest.java       | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/components-starter/camel-telegram-starter/src/test/java/org/apache/camel/component/telegram/springboot/TelegramConsumerHealthCheckErrorTest.java
 
b/components-starter/camel-telegram-starter/src/test/java/org/apache/camel/component/telegram/springboot/TelegramConsumerHealthCheckErrorTest.java
index 4b1f605c74c..0c9630270c5 100644
--- 
a/components-starter/camel-telegram-starter/src/test/java/org/apache/camel/component/telegram/springboot/TelegramConsumerHealthCheckErrorTest.java
+++ 
b/components-starter/camel-telegram-starter/src/test/java/org/apache/camel/component/telegram/springboot/TelegramConsumerHealthCheckErrorTest.java
@@ -102,7 +102,7 @@ public class TelegramConsumerHealthCheckErrorTest extends 
TelegramTestSupport {
                 rc.getDetails().get(HealthCheck.ENDPOINT_URI));
 
         Throwable e = rc.getError().get();
-        Assertions.assertTrue(e.getMessage().contains("401 Unauthorized"));
+        Assertions.assertTrue(e.getMessage().contains("401"));
         Assertions.assertEquals(401, 
rc.getDetails().get(HealthCheck.HTTP_RESPONSE_CODE));
     }
 

Reply via email to