From 89fba39b7b7c6002366428513a01df7b54f00c41 Mon Sep 17 00:00:00 2001 From: Claus Matzinger Date: Mon, 16 Dec 2024 11:09:16 +0100 Subject: [PATCH] fix: flow test --- coralogix/resource_coralogix_alert_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/coralogix/resource_coralogix_alert_test.go b/coralogix/resource_coralogix_alert_test.go index 993b66ab..de6da92f 100644 --- a/coralogix/resource_coralogix_alert_test.go +++ b/coralogix/resource_coralogix_alert_test.go @@ -1259,8 +1259,8 @@ func TestAccCoralogixResourceAlert_flow(t *testing.T) { resource.TestCheckResourceAttr(alertResourceName, "priority", "P3"), resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.#", "1"), resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.0.flow_stages_groups.#", "2"), - resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.0.flow_stages_groups.0.alerts_op", "OR"), - resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.0.flow_stages_groups.0.next_op", "AND"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.0.flow_stages_groups.0.alerts_op", "AND"), + resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.0.flow_stages_groups.0.next_op", "OR"), resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.0.flow_stages_groups.0.alert_defs.#", "2"), resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.0.timeframe_ms", "10"), resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.0.timeframe_type", "Up To"),