Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
tj-spyro committed Feb 11, 2022
1 parent d73bd12 commit 7be6628
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -682,9 +682,9 @@ func flattenMonitorActivityLogAlertResourceHealth(input *insights.AlertRuleAllOf
values = append(values, *cond.Equals)
}
switch strings.ToLower(*cond.Field) {
case "properties.currentHealthStatus":
case "properties.currenthealthstatus":
rhResult["current"] = values
case "properties.previousHealthStatus":
case "properties.previoushealthstatus":
rhResult["previous"] = values
case "properties.cause":
rhResult["reason"] = values
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ func TestAccMonitorActivityLogAlert_ResourceHealth_basicAndUpdate(t *testing.T)
},
data.ImportStep(),
{
Config: r.serviceHealth_basic(data),
Config: r.resourceHealth_basic(data),
Check: acceptance.ComposeTestCheckFunc(
check.That(data.ResourceName).ExistsInAzure(r),
),
Expand Down

0 comments on commit 7be6628

Please sign in to comment.