Skip to content

Commit e854fa1

Browse files
committed
test count
1 parent 8bec9b7 commit e854fa1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

internal/fleet/agent_policy/resource_test.go

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -160,8 +160,7 @@ func TestAccResourceAgentPolicy(t *testing.T) {
160160
resource.TestCheckResourceAttr("elasticstack_fleet_agent_policy.test_policy", "monitor_logs", "false"),
161161
resource.TestCheckResourceAttr("elasticstack_fleet_agent_policy.test_policy", "monitor_metrics", "true"),
162162
resource.TestCheckResourceAttr("elasticstack_fleet_agent_policy.test_policy", "skip_destroy", "false"),
163-
resource.TestCheckNoResourceAttr("elasticstack_fleet_agent_policy.test_policy", "global_data_tags.tag1"),
164-
resource.TestCheckNoResourceAttr("elasticstack_fleet_agent_policy.test_policy", "global_data_tags.tag2"),
163+
resource.TestCheckResourceAttr("elasticstack_fleet_agent_policy.test_policy", "global_data_tags.#", "0"),
165164
),
166165
},
167166
},

0 commit comments

Comments
 (0)