From 526433aaa35a3650eb0f87c85a959324815542d9 Mon Sep 17 00:00:00 2001 From: Chase <62891993+engechas@users.noreply.github.com> Date: Thu, 21 Dec 2023 11:49:54 -0800 Subject: [PATCH] Add token to chime URL used in tests to adhere to new Notifications validation (#1330) Signed-off-by: Chase Engelbrecht --- .../test/kotlin/org/opensearch/alerting/AlertingRestTestCase.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alerting/src/test/kotlin/org/opensearch/alerting/AlertingRestTestCase.kt b/alerting/src/test/kotlin/org/opensearch/alerting/AlertingRestTestCase.kt index 414199f00..5d33000ef 100644 --- a/alerting/src/test/kotlin/org/opensearch/alerting/AlertingRestTestCase.kt +++ b/alerting/src/test/kotlin/org/opensearch/alerting/AlertingRestTestCase.kt @@ -436,7 +436,7 @@ abstract class AlertingRestTestCase : ODFERestTestCase() { } fun getChimeDestination(): Destination { - val chime = Chime("https://hooks.chime.aws/incomingwebhooks/chimeId") + val chime = Chime("https://hooks.chime.aws/incomingwebhooks/chimeId?token=abcdef") return Destination( type = DestinationType.CHIME, name = "test",