From e5360f6cadaca9fce1cb812779bc18b8977c89bd Mon Sep 17 00:00:00 2001 From: mollystamos123 Date: Wed, 30 Oct 2024 16:05:54 -0700 Subject: [PATCH] add test? --- internal/provider/burn_alert_resource_test.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/internal/provider/burn_alert_resource_test.go b/internal/provider/burn_alert_resource_test.go index e0326e63..fc1515a2 100644 --- a/internal/provider/burn_alert_resource_test.go +++ b/internal/provider/burn_alert_resource_test.go @@ -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") } @@ -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"