Skip to content

Commit

Permalink
add test?
Browse files Browse the repository at this point in the history
  • Loading branch information
mollystamos123 committed Oct 30, 2024
1 parent 09f9347 commit e5360f6
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions internal/provider/burn_alert_resource_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -572,6 +572,10 @@ func testAccEnsureAttributesCorrectBudgetRate(burnAlert *client.BurnAlert, budge
return fmt.Errorf("incorrect alert_type: %s", burnAlert.AlertType)
}

if burnAlert.Description != "test budget rate burn alert" {
return fmt.Errorf("incorrect description: %s", burnAlert.Description)
}

if burnAlert.BudgetRateWindowMinutes == nil {
return fmt.Errorf("incorrect budget_rate_window_minutes: expected not to be nil")
}
Expand Down Expand Up @@ -741,6 +745,7 @@ resource "honeycombio_burn_alert" "test" {
alert_type = "budget_rate"
budget_rate_window_minutes = %[1]d
budget_rate_decrease_percent = %[2]s
description = "test budget rate burn alert"
dataset = "%[3]s"
slo_id = "%[4]s"
Expand Down

0 comments on commit e5360f6

Please sign in to comment.