Skip to content

Commit

Permalink
Add test for finding_criteria
Browse files Browse the repository at this point in the history
  • Loading branch information
suzuki-shunsuke committed Jun 30, 2020
1 parent a2f1046 commit c6678fe
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions aws/resource_aws_guardduty_filter_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ func testAccAwsGuardDutyFilter_basic(t *testing.T) {
resource.TestCheckResourceAttr(resourceName, "name", "test-filter"),
resource.TestCheckResourceAttr(resourceName, "action", "ARCHIVE"),
resource.TestCheckResourceAttr(resourceName, "rank", "1"),
resource.TestCheckResourceAttrSet(resourceName, "finding_criteria"),
),
},
{
Expand All @@ -37,6 +38,7 @@ func testAccAwsGuardDutyFilter_basic(t *testing.T) {
resource.TestCheckResourceAttr(resourceName, "name", "test-filter"),
resource.TestCheckResourceAttr(resourceName, "action", "NOOP"),
resource.TestCheckResourceAttr(resourceName, "rank", "1"),
resource.TestCheckResourceAttrSet(resourceName, "finding_criteria"),
),
},
},
Expand Down

0 comments on commit c6678fe

Please sign in to comment.