Skip to content

Commit

Permalink
Fix model expected value
Browse files Browse the repository at this point in the history
  • Loading branch information
rwwiv committed Oct 18, 2024
1 parent 6157d70 commit afc38bb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ func TestAccRecordingRule(t *testing.T) {
resource.TestCheckResourceAttr("grafana_rule_group.my_rule_group", "name", name),
resource.TestCheckResourceAttr("grafana_rule_group.my_rule_group", "rule.#", "1"),
resource.TestCheckResourceAttr("grafana_rule_group.my_rule_group", "rule.0.name", "My Random Walk Alert"),
resource.TestCheckResourceAttr("grafana_rule_group.my_rule_group", "rule.0.data.0.model", "{\"hide\":false,\"refId\":\"A\"}"),
resource.TestCheckResourceAttr("grafana_rule_group.my_rule_group", "rule.0.data.0.model", "{\"refId\":\"A\"}"),
resource.TestCheckResourceAttr("grafana_rule_group.my_rule_group", "rule.0.data.0.record.metric", metric),
resource.TestCheckResourceAttr("grafana_rule_group.my_rule_group", "rule.0.data.0.record.from", "A"),
),
Expand Down

0 comments on commit afc38bb

Please sign in to comment.