From 61d795ed440b7d087368357e7bcea11d8a71bd45 Mon Sep 17 00:00:00 2001 From: clint shryock Date: Wed, 21 Sep 2016 16:12:56 -0500 Subject: [PATCH] tidy up tests --- .../providers/aws/resource_aws_security_group_test.go | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/builtin/providers/aws/resource_aws_security_group_test.go b/builtin/providers/aws/resource_aws_security_group_test.go index a647a23da..44a580d39 100644 --- a/builtin/providers/aws/resource_aws_security_group_test.go +++ b/builtin/providers/aws/resource_aws_security_group_test.go @@ -492,21 +492,20 @@ func TestAccAWSSecurityGroup_vpcProtoNumIngress(t *testing.T) { Config: testAccAWSSecurityGroupConfigVpcProtoNumIngress, Check: resource.ComposeTestCheckFunc( testAccCheckAWSSecurityGroupExists("aws_security_group.web", &group), - testAccCheckAWSSecurityGroupAttributesNegOneProtocol(&group), resource.TestCheckResourceAttr( "aws_security_group.web", "name", "terraform_acceptance_test_example"), resource.TestCheckResourceAttr( "aws_security_group.web", "description", "Used in the terraform acceptance tests"), resource.TestCheckResourceAttr( - "aws_security_group.web", "ingress.956249133.protocol", "50"), + "aws_security_group.web", "ingress.2449525218.protocol", "50"), resource.TestCheckResourceAttr( - "aws_security_group.web", "ingress.956249133.from_port", "0"), + "aws_security_group.web", "ingress.2449525218.from_port", "0"), resource.TestCheckResourceAttr( - "aws_security_group.web", "ingress.956249133.to_port", "0"), + "aws_security_group.web", "ingress.2449525218.to_port", "0"), resource.TestCheckResourceAttr( - "aws_security_group.web", "ingress.956249133.cidr_blocks.#", "1"), + "aws_security_group.web", "ingress.2449525218.cidr_blocks.#", "1"), resource.TestCheckResourceAttr( - "aws_security_group.web", "ingress.956249133.cidr_blocks.0", "10.0.0.0/8"), + "aws_security_group.web", "ingress.2449525218.cidr_blocks.0", "10.0.0.0/8"), testCheck, ), },