providers/aws: use precheck for security group
This commit is contained in:
parent
2e767da3df
commit
e992d62717
|
@ -10,9 +10,8 @@ import (
|
||||||
)
|
)
|
||||||
|
|
||||||
func TestAccAwsSecurityGroup(t *testing.T) {
|
func TestAccAwsSecurityGroup(t *testing.T) {
|
||||||
testAccPreCheck(t)
|
|
||||||
|
|
||||||
resource.Test(t, resource.TestCase{
|
resource.Test(t, resource.TestCase{
|
||||||
|
PreCheck: func() { testAccPreCheck(t) },
|
||||||
Providers: testAccProviders,
|
Providers: testAccProviders,
|
||||||
CheckDestroy: testAccCheckAWSSecurityGroupDestroy,
|
CheckDestroy: testAccCheckAWSSecurityGroupDestroy,
|
||||||
Steps: []resource.TestStep{
|
Steps: []resource.TestStep{
|
||||||
|
|
Loading…
Reference in New Issue