Skip to content

Commit

Permalink
tweak: test case variable ref
Browse files Browse the repository at this point in the history
  • Loading branch information
Xboarder56 committed Apr 16, 2024
1 parent 2699114 commit 600b6c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions splunk/resource_splunk_saved_searches_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ resource "splunk_saved_searches" "test" {
action_log_event_param_host = "splunk"
action_log_event_param_index = "main"
action_log_event_param_sourcetype = "stash"
action_log_event_param_source = "alert:$name$"
action_log_event_param_source = "alert"
alert_comparator = "greater than"
alert_digest_mode = true
alert_expires = "30d"
Expand Down Expand Up @@ -429,7 +429,7 @@ func TestAccSplunkSavedSearches(t *testing.T) {
resource.TestCheckResourceAttr(resourceName, "action_log_event_param_host", "splunk"),
resource.TestCheckResourceAttr(resourceName, "action_log_event_param_index", "main"),
resource.TestCheckResourceAttr(resourceName, "action_log_event_param_sourcetype", "stash"),
resource.TestCheckResourceAttr(resourceName, "action_log_event_param_source", "alert:$name$"),
resource.TestCheckResourceAttr(resourceName, "action_log_event_param_source", "alert"),
resource.TestCheckResourceAttr(resourceName, "alert_comparator", "greater than"),
resource.TestCheckResourceAttr(resourceName, "alert_digest_mode", "true"),
resource.TestCheckResourceAttr(resourceName, "alert_expires", "30d"),
Expand Down

0 comments on commit 600b6c0

Please sign in to comment.