This is an automated email from the ASF dual-hosted git repository.
acosentino pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel.git
The following commit(s) were added to refs/heads/main by this push:
new 37df1483ded Slack incoming webhook URLs should not be disclosed
(#11613)
37df1483ded is described below
commit 37df1483dedd0b39db88b14b1e033b9b6fe572cc
Author: Andrea Cosentino <[email protected]>
AuthorDate: Fri Sep 29 14:08:18 2023 +0200
Slack incoming webhook URLs should not be disclosed (#11613)
Signed-off-by: Andrea Cosentino <[email protected]>
---
.../test/java/org/apache/camel/component/slack/SlackConsumerTest.java | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git
a/components/camel-slack/src/test/java/org/apache/camel/component/slack/SlackConsumerTest.java
b/components/camel-slack/src/test/java/org/apache/camel/component/slack/SlackConsumerTest.java
index 5504c4dd6e5..90e97f36d32 100644
---
a/components/camel-slack/src/test/java/org/apache/camel/component/slack/SlackConsumerTest.java
+++
b/components/camel-slack/src/test/java/org/apache/camel/component/slack/SlackConsumerTest.java
@@ -42,8 +42,7 @@ public class SlackConsumerTest extends CamelTestSupport {
@BeforeEach
public void setUp() throws Exception {
token = System.getProperty("SLACK_TOKEN");
- hook = System.getProperty("SLACK_HOOK",
-
"https://hooks.slack.com/services/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");
+ hook = System.getProperty("SLACK_HOOK");
assumeCredentials();
super.setUp();