From a2d5a200dbcd20f67af0397c4bc4291fb2481a87 Mon Sep 17 00:00:00 2001 From: Chase Engelbrecht Date: Tue, 19 Dec 2023 22:41:36 -0800 Subject: [PATCH] Add token to chime URL used in tests to adhere to new Notifications validation 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",