From 316b99cb435c880e7c70ef927857c9ee83d2a16d Mon Sep 17 00:00:00 2001 From: Surya Sashank Nistala Date: Tue, 20 Jun 2023 09:10:16 -0700 Subject: [PATCH] fix constructor to adjust for chained alert trigger change in common utils Signed-off-by: Surya Sashank Nistala --- .../src/test/kotlin/org/opensearch/alerting/TestHelpers.kt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/alerting/src/test/kotlin/org/opensearch/alerting/TestHelpers.kt b/alerting/src/test/kotlin/org/opensearch/alerting/TestHelpers.kt index 3fafdcdb1..e5529c69e 100644 --- a/alerting/src/test/kotlin/org/opensearch/alerting/TestHelpers.kt +++ b/alerting/src/test/kotlin/org/opensearch/alerting/TestHelpers.kt @@ -253,7 +253,8 @@ fun randomWorkflow( user = user, inputs = listOf(CompositeInput(Sequence(delegates))), version = -1L, - schemaVersion = 0 + schemaVersion = 0, + triggers = listOf() ) } @@ -278,7 +279,8 @@ fun randomWorkflowWithDelegates( user = user, inputs = listOf(CompositeInput(Sequence(delegates))), version = -1L, - schemaVersion = 0 + schemaVersion = 0, + triggers = emptyList() ) }