Skip to content

Commit

Permalink
fix: flow test
Browse files Browse the repository at this point in the history
  • Loading branch information
celaus committed Dec 16, 2024
1 parent 0a29199 commit 4dbbe6d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion coralogix/data_source_coralogix_enrichment_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ func TestAccCoralogixDataSourceEnrichment_basic(t *testing.T) {
testAccCoralogixDataSourceEnrichment_read(),
Check: resource.ComposeAggregateTestCheckFunc(
resource.TestCheckResourceAttrSet(enrichmentDataSourceName, "id"),
resource.TestCheckResourceAttr(enrichmentDataSourceName, "geo_ip.fields.name", fieldName),
resource.TestCheckResourceAttr(enrichmentDataSourceName, "geo_ip.0.fields.0.name", fieldName),
),
},
},
Expand Down
4 changes: 2 additions & 2 deletions coralogix/resource_coralogix_alert_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -1284,8 +1284,8 @@ func TestAccCoralogixResourceAlert_flow(t *testing.T) {
resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.0.timeframe_ms", "10"),
resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.0.timeframe_type", "Up To"),
resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.1.flow_stages_groups.#", "1"),
resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.1.flow_stages_groups.0.alerts_op", "OR"),
resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.1.flow_stages_groups.0.next_op", "AND"),
resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.1.flow_stages_groups.0.alerts_op", "AND"),
resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.1.flow_stages_groups.0.next_op", "OR"),
resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.1.flow_stages_groups.0.alert_defs.#", "1"),
resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.1.timeframe_ms", "20"),
resource.TestCheckResourceAttr(alertResourceName, "type_definition.flow.stages.1.timeframe_type", "Up To"),
Expand Down

0 comments on commit 4dbbe6d

Please sign in to comment.